mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
14 lines
371 B
JavaScript
14 lines
371 B
JavaScript
const path = require('path');
|
|
const merge = require('webpack-merge');
|
|
const config = require('./webpack.site.dev');
|
|
|
|
module.exports = merge(config, {
|
|
mode: 'production',
|
|
output: {
|
|
path: path.join(__dirname, '../docs/dist'),
|
|
publicPath: 'https://b.yzcdn.cn/vant/',
|
|
filename: '[name].[hash:8].js',
|
|
chunkFilename: 'async_[name].[chunkhash:8].js'
|
|
}
|
|
});
|