forked from mystiq/hydrogen-web
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
|
// compile down to whatever IE 11 needs
|
||||||
const babelPlugin = babel.babel({
|
const babelPlugin = babel.babel({
|
||||||
babelHelpers: 'bundled',
|
babelHelpers: 'bundled',
|
||||||
|
exclude: 'node_modules/**',
|
||||||
presets: [
|
presets: [
|
||||||
[
|
[
|
||||||
"@babel/preset-env",
|
"@babel/preset-env",
|
||||||
|
|
Loading…
Reference in a new issue