-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Add a --debug flag for production builds which disables uglify #4732
Comments
Could this initially be done as a plugin if someone wanted to work on it? |
Yeah — but this seems like something that should be built in — not something people have to install and add/remove to their gatsby-config. Let's perhaps not name it It'd be a really easy PR to add. |
I'll give this a go. |
If I see code in clear, including comments, as a result of I thought, maybe those sites are engineering-oriented and leave their code open for inspection, but then I looked at https://www.shopflamingo.com. Same story. https://impossiblefoods.com/ Same. Does Gatsby actually no longer uglify when |
Please don't open up year old issues, it's not really helping your cause. Thanks! About your comment: You can see those things due to Webpack's "Sourcemaps" that get shipped with the build (you can disable this behavior manually if you want). |
It's really hard to debug some problems (e.g. mismatches between SSR & client renders #3067) without this.
The text was updated successfully, but these errors were encountered: