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 SvelteKit has a [`trailingSlash` option](https://kit.svelte.dev/docs/configuration#trailingslash) which indicates whether we expect URLs to have a trailing slash or not. By default all URLs do not have a trailing slash....

enhancement
p3-downstream-blocker :hammer:

### Description Many users come to the Vite world via the simple command `npm create vite@latest`. As Vite's getting more and more popular, this command has already attracted more traffic...

enhancement: pending triage

### Describe the bug I'm trying to serve a Vue.js website from a Docker container using a custom domain and SSL cert. It looks like Vite is not serving the...

enhancement

### Describe the bug use `` load static image build config ` legacy({ targets: ['ie >= 11', 'chrome > 49'] }) ` there will be `new URL("logo.03d6d6da.png",import.meta.url).href` in legacy chunk...

plugin: legacy
p4-important :exclamation:

### Describe the bug [Vite version 3.0.0-alpha.9]: Cannot treeshaking libs. [Vite version 2.9.9]: Its ok. ### Reproduction https://stackblitz.com/edit/vitejs-vite-bqjtx1?file=src%2FApp.tsx,vite.config.ts,stats.html ### System Info ```shell System: OS: macOS 11.6 CPU: (8) arm64 Apple...

p3-significant 🔨
feat: deps optimizer

### Describe the bug Duplicate module bundles when optimized dependencies are reloaded during build. It was very hard to reproduce this bug...it took a long time. It depends on a...

p4-important :exclamation:
feat: deps optimizer

### Clear and concise description of the problem As a developer looking to use a tool to compile my HTML, like 11ty, I'd like to keep the compiled HTML directory...

has workaround
enhancement: pending triage

### Describe the bug When run with `vitepress dev docs --base /docs/` and visit `/docs` route, it will be response with a message: ```log The server is configured with a...

p2-nice-to-have :cake:

### Describe the bug Network: ![image](https://user-images.githubusercontent.com/74017697/179401348-0eb5f88b-4280-47ae-b5b1-75eed9eb0d8b.png) Generated code: ![image](https://user-images.githubusercontent.com/74017697/179401788-1d282e63-a7b9-4f15-b0f5-5d2cdbf393b8.png) Dist: ![image](https://user-images.githubusercontent.com/74017697/179401856-f38b3fb0-f728-4956-bcb3-ab3f9538c6b9.png) ![image](https://user-images.githubusercontent.com/74017697/179401872-557cf592-7c68-49f8-a614-dcd609fa49c0.png) ![image](https://user-images.githubusercontent.com/74017697/179401836-6dde7987-30c3-42b8-82ad-4c3918d09b3d.png) It is also very strange that the fonts exist several times, once in assets/ and once in...

pending triage

### Describe the bug Ordinarily, building a Vite app results in `import.meta.env.DEV === false` and `import.meta.env.PROD === true` regardless of the `mode` configuration. If you set `mode` when calling `vite.build(...)`...

enhancement
breaking change