更新部署机制
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
const path = require('path');
|
||||
const merge = require('webpack-merge');
|
||||
const {
|
||||
CleanWebpackPlugin
|
||||
} = require('clean-webpack-plugin');
|
||||
|
||||
const common = require('./webpack.common.js');
|
||||
|
||||
module.exports = merge(common, {
|
||||
plugins: [
|
||||
new CleanWebpackPlugin()
|
||||
]
|
||||
});
|
||||
],
|
||||
output: {
|
||||
filename: 'smartTable.min.js',
|
||||
path: path.resolve(__dirname, '../dist')
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user