Skip to content

Commit

Permalink
chore: use terser-webpack-plugin 4.x to avoid hoisting issue with s…
Browse files Browse the repository at this point in the history
…chema-utils
  • Loading branch information
gaetanmaisse committed Mar 11, 2021
1 parent 18e55cf commit 12592a0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 25 deletions.
2 changes: 1 addition & 1 deletion lib/builder-webpack4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"react-dev-utils": "^11.0.3",
"stable": "^0.1.8",
"style-loader": "^1.3.0",
"terser-webpack-plugin": "^3.1.0",
"terser-webpack-plugin": "^4.2.3",
"ts-dedent": "^2.0.0",
"url-loader": "^4.1.1",
"util-deprecate": "^1.0.2",
Expand Down
2 changes: 1 addition & 1 deletion lib/core-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"serve-favicon": "^2.5.0",
"style-loader": "^1.3.0",
"telejson": "^5.1.0",
"terser-webpack-plugin": "^3.1.0",
"terser-webpack-plugin": "^4.2.3",
"ts-dedent": "^2.0.0",
"url-loader": "^4.1.1",
"util-deprecate": "^1.0.2",
Expand Down
27 changes: 4 additions & 23 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6750,7 +6750,7 @@ __metadata:
react-dev-utils: ^11.0.3
stable: ^0.1.8
style-loader: ^1.3.0
terser-webpack-plugin: ^3.1.0
terser-webpack-plugin: ^4.2.3
ts-dedent: ^2.0.0
url-loader: ^4.1.1
util-deprecate: ^1.0.2
Expand Down Expand Up @@ -7182,7 +7182,7 @@ __metadata:
serve-favicon: ^2.5.0
style-loader: ^1.3.0
telejson: ^5.1.0
terser-webpack-plugin: ^3.1.0
terser-webpack-plugin: ^4.2.3
ts-dedent: ^2.0.0
url-loader: ^4.1.1
util-deprecate: ^1.0.2
Expand Down Expand Up @@ -28781,7 +28781,7 @@ fsevents@2.1.2:
languageName: node
linkType: hard

"jest-worker@npm:26.6.2, jest-worker@npm:^26.2.1, jest-worker@npm:^26.5.0, jest-worker@npm:^26.6.2":
"jest-worker@npm:26.6.2, jest-worker@npm:^26.5.0, jest-worker@npm:^26.6.2":
version: 26.6.2
resolution: "jest-worker@npm:26.6.2"
dependencies:
Expand Down Expand Up @@ -43890,7 +43890,7 @@ resolve@1.19.0:
languageName: node
linkType: hard

"terser-webpack-plugin@npm:4.2.3":
"terser-webpack-plugin@npm:4.2.3, terser-webpack-plugin@npm:^4.2.3":
version: 4.2.3
resolution: "terser-webpack-plugin@npm:4.2.3"
dependencies:
Expand Down Expand Up @@ -43928,25 +43928,6 @@ resolve@1.19.0:
languageName: node
linkType: hard

"terser-webpack-plugin@npm:^3.1.0":
version: 3.1.0
resolution: "terser-webpack-plugin@npm:3.1.0"
dependencies:
cacache: ^15.0.5
find-cache-dir: ^3.3.1
jest-worker: ^26.2.1
p-limit: ^3.0.2
schema-utils: ^2.6.6
serialize-javascript: ^4.0.0
source-map: ^0.6.1
terser: ^4.8.0
webpack-sources: ^1.4.3
peerDependencies:
webpack: ^4.0.0 || ^5.0.0
checksum: 1c64726f04719c86f93a955a7aa4223fd212032430101c5aa942b32aaf012b195f4fa5e32e4205e439272e3891488d03c599937e970d83c3b4fe63f49ae2e5f7
languageName: node
linkType: hard

"terser-webpack-plugin@npm:^5.0.3, terser-webpack-plugin@npm:^5.1.1":
version: 5.1.1
resolution: "terser-webpack-plugin@npm:5.1.1"
Expand Down

0 comments on commit 12592a0

Please sign in to comment.