mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-29 09:04:55 +01:00
6da0d22d1b
Introduce typescript * Configure typescript support for jets * Fix cycle dependency * Configure typescript * Migrate mindplot to typescript * Merge branch 'develop' into feature/browser_export
17 lines
349 B
JavaScript
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);
|