prismarine-web-client-mirror/webpack.prod.js
Romain Beaumont 163d9cecba Revert "Make dev builds faster (#227)"
This reverts commit 8c88ec6383.

Fix #240
2021-11-12 21:04:09 +00:00

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