We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vite
npm run build generated an unnecessary .vite folder. It lead error in Edge Extension uploading.
npm run build
No response
System: OS: macOS 13.4.1 CPU: (10) arm64 Apple M1 Pro Memory: 140.67 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.12.2 - ~/.n/bin/node Yarn: 1.22.19 - ~/.n/bin/yarn npm: 10.5.0 - ~/.n/bin/npm pnpm: 9.1.1 - ~/.n/bin/pnpm Watchman: 2024.05.06.00 - /opt/homebrew/bin/watchman Browsers: Chrome: 125.0.6422.142 Safari: 16.5.2 npmPackages: @crxjs/vite-plugin: ^2.0.0-beta.23 => 2.0.0-beta.23 vite: ^5.2.0 => 5.2.13
annoyance
The text was updated successfully, but these errors were encountered:
This is due to Manifest files are now generated in .vite directory by default
As a solution you can run a script to remove it after build or just exclude it from your pack script
Sorry, something went wrong.
I tried to set false to build.manifest according to the vite doc: https://vite.dev/config/build-options.html#build-manifest but the npm run build generates manifest.json in .vite.
false
build.manifest
manifest.json
.vite
No branches or pull requests
Build tool
Vite
Where do you see the problem?
Describe the bug
npm run build generated an unnecessary .vite folder. It lead error in Edge Extension uploading.
Reproduction
npm run build
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: