1
0
star/galaxy/bundler/webpack.prod.js

15 lines
331 B
JavaScript
Raw Normal View History

2024-04-27 09:21:41 +00:00
const { merge } = require('webpack-merge')
const commonConfiguration = require('./webpack.common.js')
const { CleanWebpackPlugin } = require('clean-webpack-plugin')
module.exports = merge(
commonConfiguration,
{
mode: 'production',
plugins:
[
new CleanWebpackPlugin()
]
}
)