1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-15 09:14:11 +02:00
focalboard/webapp/webpack.js
2021-01-26 13:15:31 -08:00

22 lines
552 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({extractComments: false})],
},
});
module.exports = [
merge.merge(config, {
}),
];