Skip to content
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

Sw.js is not generated when building project #479

Open
eg-delacruz opened this issue May 8, 2023 · 3 comments
Open

Sw.js is not generated when building project #479

eg-delacruz opened this issue May 8, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@eg-delacruz
Copy link

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.0
  • next: 12.3.0

How 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.

@eg-delacruz eg-delacruz added the bug Something isn't working label May 8, 2023
@karltaylor
Copy link

karltaylor commented Jun 21, 2023

I am also having this issue on "next": "^13.1.1"

@famdude
Copy link

famdude commented Aug 5, 2023

Same problem with next 13.4 and next-pwa 5.6.0

@Jawkx
Copy link

Jawkx commented Dec 14, 2023

Same problem with next 13.4.8 and next-pwa 5.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants