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 in this case. when i have a `.env` file ```shell VITE_APP_BASE_ROUTE=/ VITE_APP_BASE_URL=$VITE_APP_BASE_ROUTE ``` and when i build for some mode . i will add `.env.mode` like...

p3-minor-bug :hammer:

### Describe the bug I'm using the `?url` suffix to import a TypeScript file to use it in an AudioWorklet. ```js import workletUrl from './audio.worklet.ts?url'; const audioContext = new AudioContext();...

pending triage

### Clear and concise description of the problem Currently when building in lib mode we do not minify the ES build because that would remove pure annotations and break treeshaking....

enhancement
feat: library mode

### Describe the bug When `base` is set to relative (empty string or `'./'`) then in prod build when dynamically importing a module that has some CSS dependencies these dependencies...

bug
feat: css
p3-minor-bug :hammer:

### Description There's one failing test for legacy for some reason. WIP Ref #9976 ### Additional context --- ### What is the purpose of this pull request? - [ ]...

### Describe the bug when I use React.lazy(),like this: ``` // router/index.ts import React from 'react'; const Home = React.lazy(() => import('../views/Home')); const About = React.lazy(() => import('../views/About')); const routes...

bug: upstream
plugin: react

### Describe the bug Trying to `pnpm install` a freshly cloned Vite repo leads to `ERR_PNPM_NO_MATCHING_VERSION  No matching version found for [email protected]` : ![image](https://user-images.githubusercontent.com/11949623/188269675-321a9f6f-d48e-4a59-a3f5-927ba235f517.png) Note that I have `strict-peer-dependencies=false` in...

pending triage
test

### Description Following the following PR : https://github.com/vitejs/vite/pull/2440 This one add the `css.postcssImportOptions` config which is passed to `postcss-import` in order to customize its behavior. If that sounds good to...

feat: css
needs rebase

### Description While I'm doing my efforts in sveltejs/kit#6265 to add legacy support to SvelteKit on the Vite way, I had noticed that when navigating from one page to the...

enhancement: pending triage

### Clear and concise description of the problem Hey there! Recently came across a problem where we need to load some mocks or test files conditionally, like this: This is...

enhancement: pending triage