Skip to content

Commit 48be61b

Browse files
committed
fix($build): do not pick "babel.config.js" at user-land (close: #797)
1 parent 6857aac commit 48be61b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/webpack/createBaseConfig.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,11 @@ module.exports = function createBaseConfig ({
166166
.use('babel-loader')
167167
.loader('babel-loader')
168168
.options({
169-
// do not pick local project babel config
169+
// do not pick local project babel config (.babelrc)
170170
babelrc: false,
171+
// do not pick local project babel config (babel.config.js)
172+
// ref: http://babeljs.io/docs/en/config-files
173+
configFile: false,
171174
presets: [
172175
require.resolve('@vue/babel-preset-app')
173176
]

0 commit comments

Comments
 (0)