Skip to content

Commit aa73f53

Browse files
authored
fix(rollup): Make rollup an optional peer dependency (#913)
This PR makes `rollup` an optional peer dependency of `@sentry/rollup-plugin`. Vite 8 no no longer ships with rollup and installing `@sentry/vite-plugin` leads to dependency warnings of rollup missing even though the plugin works without rollup installed. Closes: #910
1 parent 1e6cfc7 commit aa73f53

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/rollup-plugin/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@
5555
"peerDependencies": {
5656
"rollup": ">=3.2.0"
5757
},
58+
"peerDependenciesMeta": {
59+
"rollup": {
60+
"optional": true
61+
}
62+
},
5863
"devDependencies": {
5964
"@sentry-internal/eslint-config": "5.1.1",
6065
"@sentry-internal/sentry-bundler-plugin-tsconfig": "5.1.1",

0 commit comments

Comments
 (0)