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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.prod.js')
-rw-r--r--webpack.prod.js17
1 files changed, 1 insertions, 16 deletions
diff --git a/webpack.prod.js b/webpack.prod.js
index 69964a32b0f..e0597e595c6 100644
--- a/webpack.prod.js
+++ b/webpack.prod.js
@@ -1,24 +1,9 @@
const { merge } = require('webpack-merge')
const common = require('./webpack.common.js')
-const TerserPlugin = require('terser-webpack-plugin')
module.exports = common.map(
config => merge(config, {
mode: 'production',
- devtool: '#source-map',
- // This is required to keep IE11 compatibility (see #21316)
- optimization: {
- minimize: true,
- minimizer: [
- new TerserPlugin({
- terserOptions: {
- output: {
- keep_quoted_props: true,
- },
- },
- sourceMap: true,
- }),
- ],
- },
+ devtool: 'source-map',
})
)