I'm building, minifying and generating sourcemaps of my app with webpack. Artifacts are sent to sentry.io with webpack-sentry-plugin.
The javascript code is run from localhost:8080/js/app.js
. It contains //# sourceMappingURL=app.js.map
at the end. Sourcemaps work correctly at Chrome devtools.
Sentry's Releases/Artifacts contain the following files:
js/app.js
js/app.js.map
Anyway, when Sentry logs an error, stacktrace is from the minified file. It's not using the sourcemaps.
What am I doing wrong in my setup? Or what other info should I give to get help?