[Build] use vue-cli to build site (#3734)

This commit is contained in:
neverland
2019-07-03 12:58:39 +08:00
committed by GitHub
parent 53e9468c2c
commit 66459df72a
30 changed files with 7776 additions and 1304 deletions

View File

@@ -1,14 +0,0 @@
const path = require('path');
const config = require('./webpack.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/',
filename: '[name].[hash:8].js',
chunkFilename: 'async_[name].[chunkhash:8].js'
}
});