From 8a9bc315e6fbc4170c0af7a72c0354bfd535bf66 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 7 Aug 2020 10:08:31 +0200 Subject: [PATCH] don't pass core-js through babel this is what caused the bundle not to load in IE11 --- scripts/build.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build.mjs b/scripts/build.mjs index 482f97b2..8a7af56a 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -115,6 +115,7 @@ async function buildJsLegacy(bundleName) { // compile down to whatever IE 11 needs const babelPlugin = babel.babel({ babelHelpers: 'bundled', + exclude: 'node_modules/**', presets: [ [ "@babel/preset-env",