1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00
focalboard/webpack.js
2020-10-08 09:21:27 -07:00

19 lines
388 B
JavaScript

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, {
}),
];