Welcome to mirror list, hosted at ThFree Co, Russian Federation.

webpack.prod.js - github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a197efea6ae14f57a8a9c82bf20f5b626dbe4730 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
const { merge } = require('webpack-merge')
const common = require('./webpack.common.js')
const TerserPlugin = require('terser-webpack-plugin')

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