构建项目

This commit is contained in:
julyp
2020-01-13 16:25:20 +08:00
parent 0635957013
commit 0d3449f259
16 changed files with 9482 additions and 2 deletions

11
config/webpack.prod.js Normal file
View File

@@ -0,0 +1,11 @@
const merge = require('webpack-merge');
const {
CleanWebpackPlugin
} = require('clean-webpack-plugin');
const common = require('./webpack.common.js');
module.exports = merge(common, {
plugins: [
new CleanWebpackPlugin()
]
});