wisemapping-frontend/packages/mindplot/webpack.prod.js
Paulo Veiga 6da0d22d1b Merged in feature/browser_export (pull request #20)
Introduce typescript

* Configure typescript support for jets

* Fix cycle dependency

* Configure typescript

* Migrate mindplot to typescript

* Merge branch 'develop' into feature/browser_export
2021-12-29 18:35:58 +00:00

17 lines
349 B
JavaScript

const { merge } = require('webpack-merge');
const CompressionPlugin = require('compression-webpack-plugin');
const common = require('./webpack.common');
const prodConfig = {
optimization: {
minimize: true,
},
plugins: [
new CompressionPlugin({
test: /\.js(\?.*)?$/i,
}),
],
};
module.exports = merge(common, prodConfig);