Sourcemaps for cache-digested assets

I’m trying to upload sourcemaps to our company instance of sentry. On my local machine, the file looks like app.js. On production, the file gets cache-busted and looks something like app.<hash>.js. The files are built using webpack, with hidden-source-map setting on production, and source-map setting on local development environment.

Does it suffice if I upload the non-minified, non-cache-busted app.js from my local machine and corresponding

They must match whatever the specification dictates. That is, if you’re saying // then it’s fine, but if that includes the hash in it it must have that.

1 Like