don't pass core-js through babel

this is what caused the bundle not to load in IE11
This commit is contained in:
Bruno Windels 2020-08-07 10:08:31 +02:00
parent 395bd8e8d4
commit 8a9bc315e6

View file

@ -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",