更新部署机制

This commit is contained in:
Julyp
2020-01-31 19:39:40 +08:00
parent 7bc2f8818c
commit a7d4ae92ab
12 changed files with 174 additions and 284 deletions

View File

@@ -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')
},
});