Skip to content

Commit

Permalink
fix($build): do not pick "babel.config.js" at user-land (close: #797)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Sep 13, 2018
1 parent 6857aac commit 48be61b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/webpack/createBaseConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,11 @@ module.exports = function createBaseConfig ({
.use('babel-loader')
.loader('babel-loader')
.options({
// do not pick local project babel config
// do not pick local project babel config (.babelrc)
babelrc: false,
// do not pick local project babel config (babel.config.js)
// ref: http://babeljs.io/docs/en/config-files
configFile: false,
presets: [
require.resolve('@vue/babel-preset-app')
]
Expand Down

0 comments on commit 48be61b

Please sign in to comment.