Integrate Sentry Vite Plug-in #664
kentcdodds
announced in
Announcements
Replies: 1 comment
-
I was tinkering with this in my Remix project but opted out because it's yet another dependency, and sentry cli comes with the # Upload source maps to Sentry and make a release
pnpm sentry-upload-sourcemaps \
--org='foo' \
--project='foo' \
--buildPath='build' \
--urlPrefix='#build/' \
--release="$(echo $APP_REVISION)" It doesn't always remove the maps though, so better following it with a find ./build -type f -name '*.map' -delete |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sentry has a vite plugin which allows us to delete some of our custom integration code and upload build source maps during the docker build rather than before deploys which is an improvement!
Check out the pull request here: #660
Big thanks to @devlinmorrow, @johnpaulkiser, and @fredericrous!
Beta Was this translation helpful? Give feedback.
All reactions