option to set location for sourcemaps (for console logs)
See original GitHub issueOk so to get sourcemaps fully working with Sentry, i have to modify quite a few things:
- change the location of sourcemaps (like with hidden sourcemaps)
- force
sourceMappingURL
to follow the formatapp:///bundle.js.map
(so no mention to the relative path where source maps are located).
Consequently sourceMapConverter
will fail here because this is the wrong location. I guess it tries to find the sourcemap in the same dir as the source itself. Or even what does it do with app:///
Do you think it would be possible to define somewhere (project wise) the location of the sourcemaps. May be using https://github.com/thlorenz/convert-source-map#frommapfilecommentcomment-mapfiledir ?
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Map the processed code to your original source code, for ...
Enable source maps in Settings · To open DevTools, in Microsoft Edge, right-click a webpage, and then select Inspect. · In DevTools, click ......
Read more >Sourcemaps breaks for console.log in node_modules in ...
I'm trying to enable sourcemaps for my Babel 7.7 and Webpack 4.41 built code. The sourcemaps work fine except for console statements that ......
Read more >JavaScript Debugging with Sourcemaps - TrackJS
Enter the Sourcemap ... A sourcemap is a mapping between the generated/transpiled/minified JavaScript file and one or more original source files. The main...
Read more >Using sourcemaps on production without exposing the source ...
Sourcemaps can be easily configured with webpack, all you need to do is to set devTool property in your webpack.config.js to either ...
Read more >How to set up source maps to help debug production JavaScript
Developers can use source maps to map transpiled code back to their original source code. These five tips help developers get source maps...
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 Free
Top 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
@vandammeb check this repo from @farfromrefug https://github.com/farfromrefug/ns-forecastie
@Kolobok12309 should ask that on Discord. You can find me there. I ll help