forked from mystiq/hydrogen-web
polyfill String.matchAll for IE11
See https://github.com/babel/babel/issues/10816 Don't really understand how or why this works, but it did
This commit is contained in:
parent
57288f75b0
commit
f8f1d49c56
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ async function buildJsLegacy(mainFile, extraFiles, importOverrides) {
|
||||||
"@babel/preset-env",
|
"@babel/preset-env",
|
||||||
{
|
{
|
||||||
useBuiltIns: "entry",
|
useBuiltIns: "entry",
|
||||||
corejs: "3",
|
corejs: "3.4",
|
||||||
targets: "IE 11",
|
targets: "IE 11",
|
||||||
// we provide our own promise polyfill (es6-promise)
|
// we provide our own promise polyfill (es6-promise)
|
||||||
// with support for synchronous flushing of
|
// with support for synchronous flushing of
|
||||||
|
|
Loading…
Reference in a new issue