forked from a64f7bb4-7358-4778-9fbe-3b882c34cc1d/v1
17 lines
422 B
JavaScript
17 lines
422 B
JavaScript
// const path = require('path');
|
|
const merge = require('webpack-merge');
|
|
const CleanWebpackPlugin = require('clean-webpack-plugin');
|
|
const webpackConfig = require('./webpack.config');
|
|
const MinifyPlugin = require('babel-minify-webpack-plugin');
|
|
|
|
module.exports = merge(webpackConfig, {
|
|
mode: 'production',
|
|
devtool: '',
|
|
plugins: [
|
|
new MinifyPlugin({}, {
|
|
comments: false,
|
|
sourceMap: '',
|
|
})
|
|
]
|
|
});
|