Skip to content

Commit

Permalink
test: fix helper esmodules for jest
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed May 10, 2018
1 parent 8f1b69b commit 31f3101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/babel-preset-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ module.exports = (context, options = {}) => {
polyfill: false,
regenerator: useBuiltIns !== 'usage',
useBuiltIns: useBuiltIns !== false,
useESModules: true,
useESModules: !process.env.VUE_CLI_BABEL_TRANSPILE_MODULES,
moduleName: path.dirname(require.resolve('@babel/runtime/package.json'))
}])

Expand Down

0 comments on commit 31f3101

Please sign in to comment.