wimi/webpack.production.js

14 lines
315 B
JavaScript
Raw Permalink Normal View History

const path = require("path");
const { merge } = require("webpack-merge");
const common = require("./webpack.common.js");
2024-04-26 02:59:53 +02:00
2024-04-05 20:23:49 +02:00
module.exports = merge(
common,
{
mode: "production",
2024-04-26 02:59:53 +02:00
devtool: false,
optimization: { minimize: true },
output: {path: path.resolve(__dirname, "build", "production")}
2024-04-05 20:23:49 +02:00
}
)