https://github.com/alextompkins/netlify-vite-plugin-serve-dist-issue
Reproduction of anissue with @netlify/vite-plugin
https://github.com/alextompkins/netlify-vite-plugin-serve-dist-issue
Last synced: 8 days ago
JSON representation
Reproduction of anissue with @netlify/vite-plugin
- Host: GitHub
- URL: https://github.com/alextompkins/netlify-vite-plugin-serve-dist-issue
- Owner: alextompkins
- Created: 2025-08-24T16:35:32.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2025-08-24T16:36:48.000Z (10 months ago)
- Last Synced: 2025-08-24T21:01:07.195Z (10 months ago)
- Language: HTML
- Homepage: https://github.com/netlify/primitives/issues/436
- Size: 67.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## `@netlify/vite-plugin` serves `dist` issue
### Reproduction
1. `npm run dev` (runs `vite dev`)
2. See that the version of `index.html` in `./dist` gets served, not the root version
3. Comment out the `netlify()` plugin in `vite.config.js`
4. See that the root version gets served with regular `vite dev` behaviour