构建项目
This commit is contained in:
11
config/webpack.prod.js
Normal file
11
config/webpack.prod.js
Normal 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()
|
||||
]
|
||||
});
|
||||
Reference in New Issue
Block a user