fix(cli): incorrect babel exclude config

This commit is contained in:
陈嘉涵 2019-12-03 21:07:01 +08:00
parent 10b7935977
commit 122b0fd93c

View File

@ -43,7 +43,7 @@ export const baseConfig = {
},
{
test: /\.(js|ts|jsx|tsx)$/,
exclude: /node_modules\/(?!(@youzan\/create-vue-components))/,
exclude: /node_modules\/(?!(@vant\/cli))/,
use: {
loader: 'babel-loader'
}