build: add files of vant-cli 2

This commit is contained in:
陈嘉涵
2019-11-18 16:40:43 +08:00
parent 28e2849087
commit 6514b650d0
46 changed files with 12125 additions and 249 deletions
@@ -0,0 +1,15 @@
import { join } from 'path';
import merge from 'webpack-merge';
import config from './webpack.site.dev';
module.exports = merge(config, {
mode: 'production',
output: {
path: join(__dirname, '../../site/dist'),
publicPath: 'https://b.yzcdn.cn/vant/',
filename: '[name].[hash:8].js',
chunkFilename: 'async_[name].[chunkhash:8].js'
}
});
export default module.exports;