focalboard/webpack.js

19 lines
388 B
JavaScript
Raw Normal View History

2020-10-08 18:21:27 +02:00
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, {
}),
];