mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 10:07:07 +00:00
[Build] optimize config (#1167)
This commit is contained in:
@@ -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'
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user