build: add flag for source maps in production (for upload)
See original GitHub issueIs your feature request related to a problem? Please describe.
If I am was searching right, there currently is no way to instruct the build to generate source maps e.g. for uploading to Sentry. I am trying to workaround this via quasar build -d && upload.sh && quasar build
Describe the solution you’d like
SOURCE_MAPS=true quasar build
or quasar build --source-maps
based on the strategy in the conf.
Describe alternatives you’ve considered
Additional context
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Using JS source-maps in production - DEV Community
Checkout to the actual prod state commit. And run prod build with source-maps flag on. Go to the sources tab in the dev...
Read more >Advanced Features: Source Maps | Next.js
Next.js provides a configuration flag you can use to enable browser source map generation during the production build: // next.config.js module.exports ...
Read more >Should I Use Source Maps in Production? | CSS-Tricks
I believe that with Sass, you don't even have to pass a flag for it in the command or anything because it produces...
Read more >Source Maps - Rollbar Docs
With the use of our CLI tool, you can upload source maps to our servers just by specifying the path to the minified...
Read more >Source Maps - SurviveJS
Inline source maps add the mapping data directly to the generated files. · Separate source maps emit the mapping data to separate source...
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
We are using a self-implemented fix by extending the webpack config to achieve a similar behavior like requested for Sentry integration. Would be nice if this could get officially supported.
The workaround @eljefedelrodeodeljefe described does not work for us as there are some changes to the source code/maps which make debugging hard when building it twice.
I am closing this (again) but tagging @rstoenescu to see if it should be reopened.