vite icon indicating copy to clipboard operation
vite copied to clipboard

Next generation frontend tooling. It's fast!

Results 600 vite issues
Sort by recently updated
recently updated
newest added

### Description The document of `build.modulePreload.resolveDependencies` had > Returning a relative path to the `hostId` for `hostType === 'js'` is allowed, in which case `new URL(dep, import.meta.url)` is used to...

p3-minor-bug

### Description fix #16652 node22 deprecated the `_extend` method of the util module. The `http_proxy` package is useful for this method, but the `http_proxy` package seems to have not been...

### Describe the bug When running a Vite React TypeScript app I get the following deprecation warning: ``` (node:4364) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead....

bug: upstream

### Describe the bug I do not change anything related to Vite this error appears on my browser's console. It is now blocking my application to be loaded. ### Reproduction...

needs reproduction

### Describe the bug 像这样设置envDir: "./src/project/electronicCalendar",环境变量可以读取到但是热更新失效, vite版本是5.0.0。 ### Reproduction wu ### Steps to reproduce _No response_ ### System Info ```shell windows 10 ``` ### Used Package Manager npm ### Logs...

needs reproduction

### Description Seems that when importing JSX files in `vite.config.{js.ts}`, the injection of file scope variables do not work. This PR fixes that. #### Example ```tsx // foo.tsx console.log(import.meta.url) //...

### Description Currently, the wasm plugin usually get the `.wasm` file using `fetch`. This approach doesn't work in SSR. Even if `fetch` were available, fetching a relative path would not...

enhancement
contribution welcome
has workaround
feat: ssr
feat: wasm

### Clear and concise description of the problem I am building a web SDK. I used the lib mode to configure my outputs. I am developing the library in `esm`...

enhancement: pending triage
feat: library mode

### Description - closes https://github.com/vitejs/vite/issues/16631 It looks like `vite:resolve` plugin's `tryNodeResolve` doesn't set `overrideConditions` and it will end up including `module` as conditions and it's impossible to exclude it from...

### Describe the bug When trying to import the URL of a javascript file with the explicit URL import as described in the [documentation](https://vitejs.dev/guide/assets#explicit-url-imports) the javascript module is imported rather...

pending triage