focalboard/webapp/webpack.js
2020-10-20 13:26:06 -07:00

21 lines
530 B
JavaScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
const merge = require('webpack-merge');
const TerserPlugin = require('terser-webpack-plugin');
const makeCommonConfig = require('./webpack.common.js');
const commonConfig = makeCommonConfig();
const config = merge.merge(commonConfig, {
mode: 'production',
optimization: {
minimize: true,
minimizer: [new TerserPlugin({})],
},
});
module.exports = [
merge.merge(config, {
}),
];