Skip to content

Commit

Permalink
chore(sentry/nextjs): webpack as optional peer-dependency (#4634)
Browse files Browse the repository at this point in the history
- fix a warning about a missing peer-dep on webpack.
- should fix install with yarn pnp / pnpm modules linkers
  • Loading branch information
belgattitude authored Feb 25, 2022
1 parent 2e5b0b8 commit ad76379
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
"react": "15.x || 16.x || 17.x",
"webpack": ">= 4.0.0"
},
"peerDependenciesMeta": {
"webpack": {
"optional": true
}
},
"scripts": {
"build": "run-p build:cjs build:esm",
"build:cjs": "tsc -p tsconfig.cjs.json",
Expand Down

0 comments on commit ad76379

Please sign in to comment.