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

Enable debugging mode of Workbox #15

Open
nguyentrungchau1996 opened this issue Dec 30, 2020 · 2 comments
Open

Enable debugging mode of Workbox #15

nguyentrungchau1996 opened this issue Dec 30, 2020 · 2 comments

Comments

@nguyentrungchau1996
Copy link

Hi everybody, I'm doing my pwa project but I can not find a way to open the debugging mode of Workbox. How could I open this one? Thank you so much! (I'm using the default registration code from React).

@ZYinMD
Copy link

ZYinMD commented Apr 3, 2021

I have the same question.

Here is the doc page about the debugging mode. I didn't find how to enable it with this template.

@jeffposnick
Copy link
Collaborator

Hey All—The relevant guidance from a Workbox perspective is found in this guide to using Workbox with a bundler, like wepback.

However, the way that c-r-a locks down your webpack configuration makes it non-trivial to pass in mode: 'development' while generating a build.

Ejecting or one of the alternatives like forking react-scripts would be one option, giving you more control over the webpack mode. I can't offer better options for folks who need that degree of control.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants