Open eg-delacruz opened 1 year ago
The sw.js file is not generated when building the project for production
What can I help with? Please keep this clear and concise.
next-pwa
next
Steps to reproduce the behavior:
Using the following next.config.js config:
const withPWA = require('next-pwa')({ dest: 'public', register: true, mode: 'production', skipWaiting: true, include: ['production'], });
module.exports = withPWA({ reactStrictMode: true, });
Link to minimal reproduce setup repository if any.
A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.
Add any other context about the problem here.
I am also having this issue on "next": "^13.1.1"
"next": "^13.1.1"
Same problem with next 13.4 and next-pwa 5.6.0
Same problem with next 13.4.8 and next-pwa 5.6.0
13.4.8
Summary
The sw.js file is not generated when building the project for production
What can I help with? Please keep this clear and concise.
Versions
next-pwa
: 5.6.0next
: 12.3.0How To Reproduce
Steps to reproduce the behavior:
Using the following next.config.js config:
const withPWA = require('next-pwa')({ dest: 'public', register: true, mode: 'production', skipWaiting: true, include: ['production'], });
module.exports = withPWA({ reactStrictMode: true, });
Link to minimal reproduce setup repository if any.
Expected Behaviors
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional Context
Add any other context about the problem here.