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

### Describe the bug Making a request in SSR mode to `http://localhost:5173/indextest/dangiel1` leads to the req.originalUrl looking like `/indextest/dangiel1` but making a request to `http://localhost:5173/index%20test/dangiel1` (note the %20 space) leads...

pending triage

### Describe the bug import Worker from '@XXX/worker/down-count?worker'; 开发源码 ![image](https://user-images.githubusercontent.com/20856486/180420373-6bdd2ac7-9ffa-4775-b1b9-6661aa14656c.png) 生产报错 ![6875f33b922f19f39c499f0e31cb5a1](https://user-images.githubusercontent.com/20856486/180420223-22a16bf1-5ba2-4557-80a0-499fb1093517.png) 开发环境 下正常, 构建后生产环境找不到dow-count.js 并报错。进入dist后,也没有生成down-count相关的chunk **### 2022-07-25 问题已定位,在使用 plugin-legacy 的情况下,会出现上述问题,注释legacy代码,worker正常打包** ![image](https://user-images.githubusercontent.com/20856486/180691929-870d2563-2fa5-495e-9292-e1e961bfa854.png) ### Reproduction [[email protected]:henry-the-great/vite_worker_bug.git](https://gitee.com/henry-the-great/vite_worker_bug) ### System Info ```shell System:...

plugin: legacy
p4-important :exclamation:
feat: web workers

### Describe the bug when i npm run build, i got a output file name like **[component].vue_vue_type_script_setup_true_lang.[hash].js** ![image](https://user-images.githubusercontent.com/16984236/179707337-f7a99430-2446-472b-9bf4-2cceabef90bc.png) ### Reproduction https://github.com/JiatLn/vite-build-demo.git ### System Info ```shell System: OS: Windows 10 10.0.19042...

enhancement
plugin: vue
p2-nice-to-have :cake:

### Description ![image](https://user-images.githubusercontent.com/49056869/180612768-a0abc403-7185-47d5-a322-aa7629979e1b.png) ![image](https://user-images.githubusercontent.com/49056869/180612778-ce6b84d8-f40c-4e57-bff5-f0d3c5554ed9.png) Show warnings when `HPE_HEADER_OVERFLOW` error happened. Currently the server does not output any errors or warnings. close #547 ### Additional context --- ### What is the...

enhancement
p2-nice-to-have :cake:

### Description fix #9334 Arrange `script type="importmap"` as first in `transformIndexHtml`. ### Additional context Needed this for dev external tests 🙂 --- ### What is the purpose of this pull...

feat: html
p3-minor-bug :hammer:

### Description This addresses https://github.com/vitejs/vite/issues/3675 especially: https://github.com/vitejs/vite/issues/3675#issuecomment-993346896 If an export in a Vite React project is a React class component, editing the contents of the components and then saving the...

p3-minor-bug :hammer:
plugin: react

### Describe the bug I originally reported this to JetBrains, and they seem to think it's an issue caused by sourcemaps not being generated by Vite. The same project moved...

pending triage

### Description `terser` is only needed if we're rendering legacy chunks. If `renderLegacyChunks: false`, we don't need terser as the existing code also actually doesn't need it, per https://github.com/vitejs/vite/blob/5f50693d515861eca971174cf9b860059132a58b/packages/plugin-legacy/src/index.ts#L349-L360 where...

plugin: legacy
p2-nice-to-have :cake:

### Clear and concise description of the problem Hello! Lately as our codebase has grown bigger and bigger over the last months we've been experiencing slow page reloading using Vite....

enhancement
p4-important
performance

### Describe the bug Trying to debug a vite+vue+ts app doesn't work for me. As soon as HMR runs the vscode debugger no longer stops on breakpoints. Possible the sourcemap...

pending triage