Electron-forge: How can I disable source maps for "package" command

Created on 20 Aug 2019  路  2Comments  路  Source: electron-userland/electron-forge

  • [x] I have read the contribution documentation for this project.
  • [x] I agree to follow the code of conduct that this project follows, as appropriate.
  • [x] 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.

Duplicate

All 2 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.

Well, actually disabling source maps is out of scope. Doing it just for packaged apps I think is https://github.com/electron-userland/electron-forge/issues/905.

Was this page helpful?
0 / 5 - 0 ratings