whiteboard/config/webpack.build.js

17 lines
367 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,
});