Skip to content

Commit

Permalink
fix: set babelrc: false in babel-loader options (#644)
Browse files Browse the repository at this point in the history
Prevents picking up local `.babelrc` file in projects.
  • Loading branch information
posva authored and ulivz committed Jul 14, 2018
1 parent de9a51b commit c500201
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/webpack/createBaseConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ module.exports = function createBaseConfig ({
.use('babel-loader')
.loader('babel-loader')
.options({
// do not pick local project babel config
babelrc: false,
presets: [
require.resolve('@vue/babel-preset-app')
]
Expand Down

0 comments on commit c500201

Please sign in to comment.