vant-weapp/build/webpack.doc.prd.js
2018-08-16 10:29:43 +08:00

15 lines
375 B
JavaScript

const path = require('path');
const config = require('./webpack.doc.dev.js');
delete config.serve;
module.exports = Object.assign(config, {
mode: 'production',
output: {
path: path.join(__dirname, '../docs/dist'),
publicPath: 'https://youzan.github.io/vant-weapp/',
filename: '[name].[hash:8].js',
chunkFilename: 'async_[name].[chunkhash:8].js'
}
});