whiteboard/config/webpack.build.js
2022-01-25 13:54:48 +01:00

17 lines
371 B
JavaScript

const { merge } = require("webpack-merge");
const baseConfig = require("./webpack.base");
module.exports = merge(baseConfig, {
mode: "production",
performance: {
hints: false,
maxEntrypointSize: 512000,
maxAssetSize: 512000,
},
optimization: {
minimize: true,
nodeEnv: "production",
},
devtool: false,
});