Add note specifying Source Map directive is mandatory#1145
Add note specifying Source Map directive is mandatory#1145
Conversation
|
It's already mentioned here https://docs.sentry.io/clients/javascript/sourcemaps/#hosting-source-map-files :) |
^to me, this is the misleading sentence |
The Hmm, I guess that header isn't mentioned anywhere in the docs. |
|
@benvinegar |
I think so but I've never verified personally. Don't forget you can also have the minified files hosted publicly return the |
|
SourceMap can also be set when you upload the artifact, effectively letting you point to an arbitrary sourcemap bundle without ever declaring anything in your minified files. That's probably the main use case for the header. (you pass it via |
|
Will add documentation about the headers piece as well (i.e. don't merge this PR yet, will add some more docs clarifying on how source map linking works / what is required for proper expanding sources. |
Before submitting a pull request, please verify the following: