mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(cli): incorrect babel exclude config
This commit is contained in:
parent
10b7935977
commit
122b0fd93c
@ -43,7 +43,7 @@ export const baseConfig = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.(js|ts|jsx|tsx)$/,
|
test: /\.(js|ts|jsx|tsx)$/,
|
||||||
exclude: /node_modules\/(?!(@youzan\/create-vue-components))/,
|
exclude: /node_modules\/(?!(@vant\/cli))/,
|
||||||
use: {
|
use: {
|
||||||
loader: 'babel-loader'
|
loader: 'babel-loader'
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user