-
-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
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
Letting vite create a manifest.json with the VitePWA plugin enabled will cause vite build
to fail
#798
Comments
Should be fixed using this version: https://pkg.pr.new/vite-plugin-pwa@8bcc1b7 (check last commit in the PR) I'm going to release a new version with Vite 6 support, sorry for the delay. |
closed via #797 |
@martylukyy looks like the issue fixed in Vite but not yet released: vitejs/vite#19174 Check https://stackblitz.com/edit/vitejs-vite-jrmcqmbw?file=package.json (with pnpm) using pkg-pr-new from the PR: use
|
@martylukyy can you test with Vite 6.0.11? |
Hi,
during an upgrade to vite 6 i encountered an issue where
vite build
failswhen letting vite create a manifest.json with the manifest build option while VitePWA is in the plugins array.
Here is a quick repro for the issue:
https://stackblitz.com/edit/vitejs-vite-bj1cha?file=vite.config.js
Removing VitePWA from the plugin array or not letting vite create a manifest.json will make
vite build
succeed.Not sure if there is something to be done on your side or if this is an issue upstream at vite.
In case this has to be fixed upstream please leave a quick comment so i can open this issue at vitejs/vite.
This issue is reproducible with v0.21.0 and PR 786.
Kind regards
martyluky
ref #786
ref #797
The text was updated successfully, but these errors were encountered: