diff --git a/packages/babel-preset-app/src/index.js b/packages/babel-preset-app/src/index.js index afcef0da68..8d0020c0d0 100644 --- a/packages/babel-preset-app/src/index.js +++ b/packages/babel-preset-app/src/index.js @@ -129,7 +129,7 @@ module.exports = (context, options = {}) => { // Transform runtime, but only for helpers plugins.push([require('@babel/plugin-transform-runtime'), { regenerator: useBuiltIns !== 'usage', - corejs: useBuiltIns !== false ? false : corejs, + corejs: false, helpers: useBuiltIns === 'usage', useESModules: buildTarget !== 'server', absoluteRuntime