Fix ES5 build and fix polyfill of Intl.Locale (#15322)

This commit is contained in:
Bram Kragten
2023-02-02 20:20:23 +01:00
committed by GitHub
parent 47b5ff7839
commit f0d53aab7b
12 changed files with 105 additions and 84 deletions

View File

@@ -67,7 +67,7 @@ module.exports.babelOptions = ({ latestBuild }) => ({
"@babel/preset-env",
{
useBuiltIns: "entry",
corejs: "3.15",
corejs: { version: "3.27", proposals: true },
bugfixes: true,
},
],