A Rollup plugin that uploads source maps to Sentry and injects release and Debug ID information into your bundles.
This package re-exports @sentry/bundler-plugins/rollup.
npm install @sentry/rollup-plugin --save-dev// rollup.config.js
import { sentryRollupPlugin } from '@sentry/rollup-plugin';
export default {
output: {
sourcemap: true,
},
plugins: [
sentryRollupPlugin({
org: process.env.SENTRY_ORG,
project: process.env.SENTRY_PROJECT,
authToken: process.env.SENTRY_AUTH_TOKEN,
}),
],
};