wimi/webpack.production.js

14 lines
315 B
JavaScript
Raw Normal View History

2024-04-05 20:23:49 +02:00
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 },
2024-04-05 20:23:49 +02:00
output: {path: path.resolve(__dirname, 'build', 'production')}
}
)