mirror of
https://github.com/PrismarineJS/prismarine-web-client.git
synced 2024-12-02 20:37:07 -05:00
16 lines
459 B
JavaScript
16 lines
459 B
JavaScript
|
const { merge } = require('webpack-merge')
|
||
|
const common = require('./webpack.common.js')
|
||
|
|
||
|
const LodashModuleReplacementPlugin = require('lodash-webpack-plugin')
|
||
|
const { CleanWebpackPlugin } = require('clean-webpack-plugin')
|
||
|
const webpack = require('webpack')
|
||
|
|
||
|
module.exports = merge(common, {
|
||
|
mode: 'production',
|
||
|
plugins: [
|
||
|
new CleanWebpackPlugin(),
|
||
|
new webpack.optimize.ModuleConcatenationPlugin(),
|
||
|
new LodashModuleReplacementPlugin()
|
||
|
]
|
||
|
})
|