Skip to content

Commit ad76379

Browse files
authored
chore(sentry/nextjs): webpack as optional peer-dependency (#4634)
- fix a warning about a missing peer-dep on webpack. - should fix install with yarn pnp / pnpm modules linkers
1 parent 2e5b0b8 commit ad76379

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/nextjs/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@
3737
"react": "15.x || 16.x || 17.x",
3838
"webpack": ">= 4.0.0"
3939
},
40+
"peerDependenciesMeta": {
41+
"webpack": {
42+
"optional": true
43+
}
44+
},
4045
"scripts": {
4146
"build": "run-p build:cjs build:esm",
4247
"build:cjs": "tsc -p tsconfig.cjs.json",

0 commit comments

Comments
 (0)