Files
smart-table/config/webpack.prod.js

17 lines
365 B
JavaScript
Raw Normal View History

2020-01-31 19:39:40 +08:00
const path = require('path');
2020-01-13 16:25:20 +08:00
const merge = require('webpack-merge');
const {
CleanWebpackPlugin
} = require('clean-webpack-plugin');
2020-01-31 19:39:40 +08:00
2020-01-13 16:25:20 +08:00
const common = require('./webpack.common.js');
module.exports = merge(common, {
plugins: [
new CleanWebpackPlugin()
2020-01-31 19:39:40 +08:00
],
output: {
filename: 'smartTable.min.js',
path: path.resolve(__dirname, '../dist')
},
});