Skip to content

Commit 9221ff8

Browse files
authored
fix(build): mitigate regressions to build framents in v4.13.1 (#8137)
List of regressions fixed in this commit: 1. need to polyfill util module 2. always transform logical nullish assignment with babel Refs #8136
1 parent 962d547 commit 9221ff8

File tree

3 files changed

+4
-159
lines changed

3 files changed

+4
-159
lines changed

babel.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,10 @@ module.exports = {
6868
]
6969
},
7070
"useBuiltIns": false,
71-
"corejs": { version: 3 }
71+
"corejs": { version: 3 },
72+
"include": [
73+
"@babel/plugin-proposal-logical-assignment-operators"
74+
]
7275
}
7376
],
7477
"@babel/preset-react"

package-lock.json

Lines changed: 0 additions & 157 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@
177177
"stream-browserify": "^3.0.0",
178178
"tachyons-sass": "^4.9.5",
179179
"terser-webpack-plugin": "^5.3.1",
180-
"util": "=0.12.4",
181180
"webpack": "^5.65.0",
182181
"webpack-bundle-size-analyzer": "^3.1.0",
183182
"webpack-cli": "^4.9.2",

0 commit comments

Comments
 (0)