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: da4f0f8128c0ea313fe8fb70cb890c0731c7161b (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,
		})],
	}
});