提交 48be61bf 编写于 作者: U ULIVZ

fix($build): do not pick "babel.config.js" at user-land (close: #797)

上级 6857aaca
......@@ -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')
]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册