SourceMap header or sourceMappingUrl comment for static sites? #369
-
I have configured publishRelease, and that is working: the release is pushed to Sentry, and source code (and maps) are uploaded to the project. Nevertheless, the mapping isn't working: Sentry tells me "Source code was not found" Now, looking at their troubleshooting tips, they suggest checking for Questions:
Configuration (yes, all env vars are properly set, as confirmed by the source files making it to Sentry fine):
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 13 replies
-
Documentation suggests setting Can you try removing the |
Beta Was this translation helpful? Give feedback.
Documentation suggests setting
sourceMapStyle
tohidden-source-map
but I'm not actually sure if that works correctly with sentry.Can you try removing the
sourceMapStyle
option so that it usessource-map
instead. Then the source files should include//# sourceMappingURL
comment at the end.