diff --git a/scripts/bundle.config.js b/scripts/bundle.config.js index 19d1e449e19..a72fa57b511 100644 --- a/scripts/bundle.config.js +++ b/scripts/bundle.config.js @@ -69,7 +69,7 @@ const config = { // Compile ES2015 using babel test: /\.js$/, loader: 'babel-loader', - include: /src/, + include: [/src/, /bundle/], options: { presets: [['@babel/preset-env', {forceAllTransforms: true}]], // all of the helpers will reference the module @babel/runtime to avoid duplication