Skip to content

Commit 87cf229

Browse files
committed
add webpack as a peer dependency and roll back to webpack 4 types
1 parent 72f16e2 commit 87cf229

File tree

2 files changed

+59
-234
lines changed

2 files changed

+59
-234
lines changed

packages/nextjs/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,15 @@
2828
},
2929
"devDependencies": {
3030
"@sentry/types": "6.13.3",
31-
"@types/webpack": "^5.28.0",
31+
"@types/webpack": "^4.41.31",
3232
"eslint": "7.20.0",
3333
"next": "10.1.3",
3434
"rimraf": "3.0.2"
3535
},
3636
"peerDependencies": {
3737
"next": "^10.0.8 || ^11.0",
38-
"react": "15.x || 16.x || 17.x"
38+
"react": "15.x || 16.x || 17.x",
39+
"webpack": ">= 4.0.0"
3940
},
4041
"scripts": {
4142
"build": "run-p build:esm build:es5",

0 commit comments

Comments
 (0)