-
Notifications
You must be signed in to change notification settings - Fork 174
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
Service worker file sw.js is missing on Vercel after fast re-deploys with target static #352
Labels
Comments
This comment has been minimized.
This comment has been minimized.
@codeofsumit nop please see #365 (fixed in v3.1.1) |
Hi. Sorry for inconveniences. This issue should be resolved by v3.2.0 |
Thanks @pi0 ! |
This was referenced Sep 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue is related to the combination of:
target: static
improvements introduced in nuxt 2.14.0sw.js
during webpack buildVersions
Steps to reproduce
target: 'static'
nuxt generate
)What is Expected?
sw.js
should be present after fast generate using previous build cache (skipping webpack build).What is actually happening?
sw.js
is missing after fast generate using previous build cache (skipping webpack build).So it seems to me like the generated
sw.js
file is not included in the build cache which is stored on Vercel, and therefore it will get missed when doing fast re-deploys which skip the webpack build step.Not sure if this issue belongs here, or rather in the actual nuxt.js repo...
The text was updated successfully, but these errors were encountered: