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 Fixed https://github.com/vitejs/vite/issues/4454 Fixed https://github.com/vitejs/vite/issues/3295 We replace asset to base64 for lib mode by default, It can handle most of the contexts. But it will add a lot of...

### Describe the bug I have created a Web Worker with `type: module` that dynamically imports a module shared with the main thread. In dev mode this works as expected,...

p2-has-workaround :cake:
feat: web workers

### Describe the bug Using [vite-plugin-ssr](https://vite-plugin-ssr.com/) with Vue, running `build` with an asset referenced from the root path (e.g. `/myimage.jpg`) results in a Rollup error. This doesn't occur during `dev`....

pending triage

### Clear and concise description of the problem By having Typescript integration in Vite, I kind of assumed all tsconfig features would work out-of-the-box. While migrating from Next.js I discovered...

enhancement
p2-nice-to-have :cake:

### Description 现在,现代浏览器的polyfills只能基于 `{ esmodules: true }`,不能自定义,希望新增一个参数来自定义。 ### Suggested solution 添加一个`modernTargets`参数,传给`@vitejs/plugin-legacy`,如: ```ts legacy({ targets: ['chrome 87', 'safari 13', 'firefox 78', 'edge 88'], modernPolyfills: true, modernTargets: { browsers: [ // 'defaults',...

plugin: legacy
enhancement: pending triage

### Description Resolves https://github.com/vitejs/vite/issues/9429 ### Additional context #### Development JSX transforms esbuild supports dev-only JSX transforms (i.e. `jsxDev: true`) but this only works when using the automatic runtime. To preserve...

### Description Possible fix for (#[9917](https://github.com/vitejs/vite/issues/9917) ) The reason for this problem is node.js fs.readFile error when take the path with the space URL encode. fix problem by replace %20...

## Describe the bug Building a module with Vite fails when the final product is built (`vite build`). But it works in developer preview (`vite`). ## Reproduction 1. Create a...

documentation
plugin: vue

### Describe the bug In Dan's original comment describing fast-refresh (https://github.com/facebook/react/issues/16604), he says only files that only export components should be treated as boundaries. But, it seems that the `isRefreshBoundary`...

pending triage

**Is your feature request related to a problem? Please describe.** I'm using vite to build a library, and sometimes the library requires a dozen lines of simple styles. After building,...

enhancement
feat: library mode