You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since next export automatically copies files from /static into the build folder, if the service-worker.js was output to there, then users wouldn't have to manually copy it over to the public directory (like we do here)
The text was updated successfully, but these errors were encountered:
The sw output should be defined by the swDest option from workbox and everything else should work around it.
Is /static the right place? That's what next-workbox does, but it felt odd to me as well given it's not a generated folder and generating files into user folders may be unexpected. On the other side, .next/static is not automatically exported.
Since
next export
automatically copies files from/static
into the build folder, if theservice-worker.js
was output to there, then users wouldn't have to manually copy it over to the public directory (like we do here)The text was updated successfully, but these errors were encountered: