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
This commit is contained in:
Vladimir Gorej
2022-08-02 14:10:06 +02:00
committed by GitHub
parent 962d5476d1
commit 9221ff801a
3 changed files with 4 additions and 159 deletions

View File

@@ -68,7 +68,10 @@ module.exports = {
]
},
"useBuiltIns": false,
"corejs": { version: 3 }
"corejs": { version: 3 },
"include": [
"@babel/plugin-proposal-logical-assignment-operators"
]
}
],
"@babel/preset-react"