getsentry / sentry-javascript-bundler-plugins

JavaScript Bundler Plugins for Sentry
https://sentry.io
BSD 3-Clause "New" or "Revised" License
142 stars 37 forks source link

vite-plugin Docs should provide guidance and exmaples for removing source maps after upload #567

Closed douglasg14b closed 4 months ago

douglasg14b commented 4 months ago

The docs here: https://docs.sentry.io/platforms/javascript/guides/vue/sourcemaps/uploading/vite/#automatic-setup

Make no mention of the problem around always generating sourcemaps for builds, which is exposing them in production.

The docs should call this out, and provide guidance on how to avoid this problem.

lforst commented 4 months ago

Hi, thanks for writing in! You are completely right, we should highlight this way more in our docs. I'll get to it soon.