Skip to content

Commit b2aa392

Browse files
authored
feat(nextjs): Remove webpack 4 support (#11605)
This is not supported since next 12, so we are good to remove this too: https://nextjs.org/docs/messages/webpack5
1 parent 832a7bf commit b2aa392

File tree

2 files changed

+2
-41
lines changed

2 files changed

+2
-41
lines changed

packages/nextjs/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,13 @@
8282
},
8383
"devDependencies": {
8484
"@types/resolve": "1.20.3",
85-
"@types/webpack": "^4.41.31",
8685
"eslint-plugin-react": "^7.31.11",
8786
"next": "13.2.0"
8887
},
8988
"peerDependencies": {
9089
"next": "^13.2.0 || ^14.0",
9190
"react": "16.x || 17.x || 18.x",
92-
"webpack": ">= 4.0.0"
91+
"webpack": ">= 5.0.0"
9392
},
9493
"peerDependenciesMeta": {
9594
"webpack": {

yarn.lock

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -7175,11 +7175,6 @@
71757175
dependencies:
71767176
"@types/node" "*"
71777177

7178-
"@types/source-list-map@*":
7179-
version "0.1.2"
7180-
resolved "https://registry.yarnpkg.com/@types/source-list-map/-/source-list-map-0.1.2.tgz#0078836063ffaf17412349bba364087e0ac02ec9"
7181-
integrity sha512-K5K+yml8LTo9bWJI/rECfIPrGgxdpeNbj+d53lwN4QjW1MCwlkhUms+gtdzigTeUyBr09+u8BwOIY3MXvHdcsA==
7182-
71837178
"@types/stack-utils@^2.0.0":
71847179
version "2.0.1"
71857180
resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c"
@@ -7190,11 +7185,6 @@
71907185
resolved "https://registry.yarnpkg.com/@types/symlink-or-copy/-/symlink-or-copy-1.2.0.tgz#4151a81b4052c80bc2becbae09f3a9ec010a9c7a"
71917186
integrity sha512-Lja2xYuuf2B3knEsga8ShbOdsfNOtzT73GyJmZyY7eGl2+ajOqrs8yM5ze0fsSoYwvA6bw7/Qr7OZ7PEEmYwWg==
71927187

7193-
"@types/tapable@^1":
7194-
version "1.0.8"
7195-
resolved "https://registry.yarnpkg.com/@types/tapable/-/tapable-1.0.8.tgz#b94a4391c85666c7b73299fd3ad79d4faa435310"
7196-
integrity sha512-ipixuVrh2OdNmauvtT51o3d8z12p6LtFW9in7U79der/kwejjdNchQC5UMn5u/KxNoM7VHHOs/l8KS8uHxhODQ==
7197-
71987188
"@types/tmp@^0.2.2":
71997189
version "0.2.3"
72007190
resolved "https://registry.yarnpkg.com/@types/tmp/-/tmp-0.2.3.tgz#908bfb113419fd6a42273674c00994d40902c165"
@@ -7210,13 +7200,6 @@
72107200
resolved "https://registry.yarnpkg.com/@types/triple-beam/-/triple-beam-1.3.2.tgz#38ecb64f01aa0d02b7c8f4222d7c38af6316fef8"
72117201
integrity sha512-txGIh+0eDFzKGC25zORnswy+br1Ha7hj5cMVwKIU7+s0U2AxxJru/jZSMU6OC9MJWP6+pc/hc6ZjyZShpsyY2g==
72127202

7213-
"@types/uglify-js@*":
7214-
version "3.13.1"
7215-
resolved "https://registry.yarnpkg.com/@types/uglify-js/-/uglify-js-3.13.1.tgz#5e889e9e81e94245c75b6450600e1c5ea2878aea"
7216-
integrity sha512-O3MmRAk6ZuAKa9CHgg0Pr0+lUOqoMLpc9AS4R8ano2auvsg7IE8syF3Xh/NPr26TWklxYcqoEEFdzLLs1fV9PQ==
7217-
dependencies:
7218-
source-map "^0.6.1"
7219-
72207203
"@types/unist@*", "@types/unist@^3.0.0":
72217204
version "3.0.0"
72227205
resolved "https://registry.yarnpkg.com/@types/unist/-/unist-3.0.0.tgz#988ae8af1e5239e89f9fbb1ade4c935f4eeedf9a"
@@ -7227,27 +7210,6 @@
72277210
resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.8.tgz#bb197b9639aa1a04cf464a617fe800cccd92ad5c"
72287211
integrity sha512-d0XxK3YTObnWVp6rZuev3c49+j4Lo8g4L1ZRm9z5L0xpoZycUPshHgczK5gsUMaZOstjVYYi09p5gYvUtfChYw==
72297212

7230-
"@types/webpack-sources@*":
7231-
version "3.2.0"
7232-
resolved "https://registry.yarnpkg.com/@types/webpack-sources/-/webpack-sources-3.2.0.tgz#16d759ba096c289034b26553d2df1bf45248d38b"
7233-
integrity sha512-Ft7YH3lEVRQ6ls8k4Ff1oB4jN6oy/XmU6tQISKdhfh+1mR+viZFphS6WL0IrtDOzvefmJg5a0s7ZQoRXwqTEFg==
7234-
dependencies:
7235-
"@types/node" "*"
7236-
"@types/source-list-map" "*"
7237-
source-map "^0.7.3"
7238-
7239-
"@types/webpack@^4.41.31":
7240-
version "4.41.31"
7241-
resolved "https://registry.yarnpkg.com/@types/webpack/-/webpack-4.41.31.tgz#c35f252a3559ddf9c85c0d8b0b42019025e581aa"
7242-
integrity sha512-/i0J7sepXFIp1ZT7FjUGi1eXMCg8HCCzLJEQkKsOtbJFontsJLolBcDC+3qxn5pPwiCt1G0ZdRmYRzNBtvpuGQ==
7243-
dependencies:
7244-
"@types/node" "*"
7245-
"@types/tapable" "^1"
7246-
"@types/uglify-js" "*"
7247-
"@types/webpack-sources" "*"
7248-
anymatch "^3.0.0"
7249-
source-map "^0.6.0"
7250-
72517213
"@types/ws@^8.5.1":
72527214
version "8.5.10"
72537215
resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.10.tgz#4acfb517970853fa6574a3a6886791d04a396787"
@@ -8555,7 +8517,7 @@ anymatch@^2.0.0:
85558517
micromatch "^3.1.4"
85568518
normalize-path "^2.1.1"
85578519

8558-
anymatch@^3.0.0, anymatch@^3.0.3, anymatch@^3.1.1, anymatch@~3.1.2:
8520+
anymatch@^3.0.3, anymatch@^3.1.1, anymatch@~3.1.2:
85598521
version "3.1.2"
85608522
resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716"
85618523
integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==

0 commit comments

Comments
 (0)