How can I disable source maps for "package" command
See original GitHub issue- I have read the contribution documentation for this project.
- I agree to follow the code of conduct that this project follows, as appropriate.
- I have searched the issue tracker for an issue that matches the one I want to file, without success.
Question
I would like to run the package
command without generate source-maps. How can I disable it?
I’m using the template generated by yarn create electron-app my-new-app --template=webpack
.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
How to disable source maps for React JS Application
Go to /config/webpack.config.js directory and change the following line: const shouldUseSourceMap = process.env.GENERATE_SOURCEMAP !== 'false';.
Read more >How can I disable source maps for "package" command #1100
I would like to run the package command without generate source-maps. How can I disable it? I'm using the template generated by yarn...
Read more >Disable Source Maps in GatsbyJs V2 for Production.
Quickly disable source maps in gatsbyjs for your production website.
Read more >Gatsby: Disable source maps in production - Marc Nuri
Gatsby enables source map generation by default even in production mode, learn how to conditionally disable source maps for production ...
Read more >source-map-explorer - npm
source -map-explorer. Analyze and debug JavaScript (or Sass or LESS) code bloat through source maps. The source map explorer determines which ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is a Webpack question, not an Electron Forge question. I would suggest looking at the Webpack documentation or asking in one of their support communities.
Thanks, will check it out!