15 lines
331 B
JavaScript
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()
|
|
]
|
|
}
|
|
)
|