From f8f1d49c5694914eae98e711beb1f20f2659d1ba Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 31 May 2021 13:04:03 +0200 Subject: [PATCH] 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 --- scripts/build.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.mjs b/scripts/build.mjs index fef0f0a1..b8467760 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -213,7 +213,7 @@ async function buildJsLegacy(mainFile, extraFiles, importOverrides) { "@babel/preset-env", { useBuiltIns: "entry", - corejs: "3", + corejs: "3.4", targets: "IE 11", // we provide our own promise polyfill (es6-promise) // with support for synchronous flushing of