mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
build: fix vant/doc babel config (#4216)
This commit is contained in:
@@ -40,7 +40,13 @@ module.exports = {
|
||||
{
|
||||
test: /\.(js|ts|tsx)$/,
|
||||
exclude: /node_modules/,
|
||||
use: 'babel-loader'
|
||||
use: {
|
||||
loader: 'babel-loader',
|
||||
// enable sub-packages to find babel config
|
||||
options: {
|
||||
rootMode: 'upward'
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
test: /\.less$/,
|
||||
|
Reference in New Issue
Block a user