mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
fix(cli): incorrect babel exclude config
This commit is contained in:
@@ -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'
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user