Skip to content

Commit 3f4db5f

Browse files
authored
refactor(build): increase maxEntrypointSize for core-js@3 (#6419)
1 parent 20beb4b commit 3f4db5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

webpack/_config-builder.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export default function buildConfig(
118118
// these aliases make sure that we don't bundle same libraries twice
119119
// when the versions of these libraries diverge between swagger-js and swagger-ui
120120
alias: {
121-
"@babel/runtime-corejs2": path.resolve(__dirname, "..", "node_modules/@babel/runtime-corejs2"),
121+
"@babel/runtime-corejs3": path.resolve(__dirname, "..", "node_modules/@babel/runtime-corejs3"),
122122
"js-yaml": path.resolve(__dirname, "..", "node_modules/js-yaml"),
123123
"lodash": path.resolve(__dirname, "..", "node_modules/lodash")
124124
},
@@ -134,8 +134,8 @@ export default function buildConfig(
134134

135135
performance: {
136136
hints: "error",
137-
maxEntrypointSize: 1024000,
138-
maxAssetSize: 1024000,
137+
maxEntrypointSize: 1072000,
138+
maxAssetSize: 1072000,
139139
},
140140

141141
optimization: {

0 commit comments

Comments
 (0)