1
0
star/galaxy/bundler/webpack.prod.js
2024-04-27 21:40:49 +09:00

15 lines
331 B
JavaScript

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()
]
}
)