don't pass core-js through babel
this is what caused the bundle not to load in IE11
This commit is contained in:
parent
395bd8e8d4
commit
8a9bc315e6
1 changed files with 1 additions and 0 deletions
|
@ -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",
|
||||
|
|
Reference in a new issue