-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
Labels
Description
Describe the bug
After upgrading to v3.2.0 or later, vite build no longer outputs CSS files and is missing JS (except barebones IIFE).
Reproduction
https://github.com/DerYeger/vue-masonry-wall/tree/ae1b3b4586a8b0eba96e56997fce34ecd39dd0f2
Steps to reproduce
Run yarn install && yarn build && yarn demo:build
System Info
System:
OS: macOS 13.1
CPU: (8) arm64 Apple M1
Memory: 444.34 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.18.0 - ~/.volta/tools/image/node/16.18.0/bin/node
Yarn: 1.22.19 - ~/.volta/tools/image/yarn/1.22.19/bin/yarn
npm: 8.19.2 - ~/.volta/tools/image/node/16.18.0/bin/npm
Browsers:
Chrome: 107.0.5304.87
Firefox: 104.0
Safari: 16.1
npmPackages:
@vitejs/plugin-vue: 3.2.0 => 3.2.0
vite: 3.2.1 => 3.2.1Used Package Manager
yarn
Logs
Expected
build:demo: vite v3.1.8 building for production...
build:demo: transforming...
build:demo: ✓ 24 modules transformed.
build:demo: rendering chunks...
build:demo: dist/index.html 1.13 KiB
build:demo: dist/assets/index.306b3559.css 2.84 KiB / gzip: 0.99 KiB
build:demo: dist/assets/index.34650a52.js 63.97 KiB / gzip: 25.68 KiB
With v3.2.0
vite v3.2.1 building for production...
transforming...
✓ 24 modules transformed.
rendering chunks...
dist/index.html 1.07 KiB
dist/assets/index.891d93e6.js 0.69 KiB / gzip: 0.39 KiB
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable