Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

souce-map in production sentry server #5976

Lodo4ka started this conversation in Show and tell
Discussion options

I wanna use sentry with source-map with @sentry/webpack-plugin, for generate source-map I was using mode devtool 'hidden-source-map', but my bundle increased by 5 kb and documentation define that "no reference. Possible choice when using SourceMap only for error reporting purposes." I wanna generate bundle like production(e.g. devtool: false) and contains source-map in sentry server. How it possible and show more examples?

You must be logged in to vote

Replies: 1 comment

Comment options

Usually sourcemaps shouldn't contribute to bundle-size, unless they're inlined (which you're not doing with the hidden-source-map option). "no-reference" just means that there will be no link to the source map at the bottom of the JS files. I think in this situation you want to generate the sourcemaps, upload them to Sentry, and delete them afterwards. Unfortunately we don't have an example yet for this but if you figure it out feel free to contribute to our docs!

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /