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

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

module.exports = merge(common, {
	mode: 'production',
	devtool: '#source-map',
	optimization: {
		minimizer: [new TerserPlugin({
			terserOptions: {
				output: {
					comments: false,
				}
			},
			sourceMap: true,
		})],
	}
});