const path = require('path');
const { merge } = require('webpack-merge');
const common = require('./webpack.client.common.js');
const TerserPlugin = require('terser-webpack-plugin');

module.exports = merge(common, {
	mode: 'production',
	optimization: {
		minimize: true,
		minimizer: [new TerserPlugin({
			parallel: true
		})]
	}
});