mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-11 01:43:23 +01:00
17 lines
359 B
JavaScript
17 lines
359 B
JavaScript
const { merge } = require('webpack-merge');
|
|
const common = require('./webpack.common.js');
|
|
const path = require('path');
|
|
|
|
const CompressionPlugin = require('compression-webpack-plugin');
|
|
|
|
module.exports = merge(common, {
|
|
mode: 'production',
|
|
devtool: 'source-map',
|
|
optimization: {
|
|
minimize: true
|
|
},
|
|
plugins: [
|
|
new CompressionPlugin()
|
|
]
|
|
});
|