2023-01-30 21:37:04 -05:00
|
|
|
const { merge } = require("webpack-merge");
|
|
|
|
const common = require("./webpack.common.js");
|
2023-01-30 21:44:50 -05:00
|
|
|
const CssMinimizerPlugin = require("css-minimizer-webpack-plugin");
|
2023-01-30 21:37:04 -05:00
|
|
|
|
|
|
|
module.exports = merge(common, {
|
|
|
|
mode: "production",
|
2023-01-30 21:44:50 -05:00
|
|
|
optimization: {
|
|
|
|
minimizer: [
|
|
|
|
"...",
|
|
|
|
new CssMinimizerPlugin(),
|
|
|
|
]
|
|
|
|
}
|
2023-01-30 21:37:04 -05:00
|
|
|
});
|