Open vporton opened 7 months ago
It's also automatically injected into sw.js generated.
from https://github.com/shadowwalker/next-pwa/tree/master/examples/custom-ts-worker
After npm run build the search find -name sw.js does not finds nothing. So sw.js isn't generated.
npm run build
find -name sw.js
sw.js
My project: https://github.com/vporton/carbon-flow_colony/tree/86c1013c88f7608a6c6484cb911cf1ef6ba10c9b
next-pwa
next
Steps to reproduce the behavior:
npm i
Create sw.js file, because it is so documented.
If sw.js should not be generated, update your docs at https://github.com/shadowwalker/next-pwa/tree/master/examples/custom-ts-worker
Summary
from https://github.com/shadowwalker/next-pwa/tree/master/examples/custom-ts-worker
After
npm run build
the searchfind -name sw.js
does not finds nothing. Sosw.js
isn't generated.My project: https://github.com/vporton/carbon-flow_colony/tree/86c1013c88f7608a6c6484cb911cf1ef6ba10c9b
Versions
next-pwa
: 5.6.0next
:14.0.3How To Reproduce
Steps to reproduce the behavior:
npm i
npm run build
find -name sw.js
Expected Behaviors
Create
sw.js
file, because it is so documented.Additional Context
If
sw.js
should not be generated, update your docs at https://github.com/shadowwalker/next-pwa/tree/master/examples/custom-ts-worker