Add --dangerous-sourcemap option to suppress warning #7897
kentcdodds
started this conversation in
Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If you follow sentry's remix guide it'll tell you to enable the
--sourcemap
option when building, then upload the sourcemap, then delete the sourcemap files.When you use the
--sourcemap
flag, you get this warning:But this isn't a problem if you're deleting the sourcemaps anyway.
What would be best is if there were some way to have client-side sourcemaps that somehow didn't reveal server-side code, but until we get that, it would be at least be nice to suppress this warning.
I propose a flag called
--dangerous-sourcemap
.Beta Was this translation helpful? Give feedback.
All reactions