mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Build] optimize config (#1167)
This commit is contained in:
parent
ea76777ec7
commit
a5413aebfa
@ -59,14 +59,14 @@ module.exports = {
|
||||
]
|
||||
},
|
||||
{
|
||||
test: /\.md/,
|
||||
test: /\.md$/,
|
||||
use: [
|
||||
'vue-loader',
|
||||
'fast-vue-md-loader'
|
||||
]
|
||||
},
|
||||
{
|
||||
test: /\.(ttf|svg)(\?.*)?$/,
|
||||
test: /\.(ttf|svg)$/,
|
||||
loader: 'url-loader'
|
||||
}
|
||||
]
|
||||
|
@ -9,7 +9,6 @@ module.exports = Object.assign(config, {
|
||||
path: path.join(__dirname, '../docs/dist'),
|
||||
publicPath: 'https://img.yzcdn.cn/zanui/vant/',
|
||||
filename: '[name].[hash:8].js',
|
||||
umdNamedDefine: true,
|
||||
chunkFilename: 'async_[name].[chunkhash:8].js'
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user