aboutsummaryrefslogtreecommitdiffstats
path: root/webpack.prod.js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-08-06 17:39:01 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-01-08 10:11:57 +0100
commit7f20d59f9c231fe6f3d776f81b714ba4a34c3b18 (patch)
tree6eda59b424373a726ec36d9e4158557933aa82c7 /webpack.prod.js
parentfd25252deb4f580a4573db0b0f5bd817998356fc (diff)
downloadnextcloud-server-7f20d59f9c231fe6f3d776f81b714ba4a34c3b18.tar.gz
nextcloud-server-7f20d59f9c231fe6f3d776f81b714ba4a34c3b18.zip
Merge all configs into one
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'webpack.prod.js')
-rw-r--r--webpack.prod.js12
1 files changed, 5 insertions, 7 deletions
diff --git a/webpack.prod.js b/webpack.prod.js
index e0597e595c6..3c8b032d17f 100644
--- a/webpack.prod.js
+++ b/webpack.prod.js
@@ -1,9 +1,7 @@
const { merge } = require('webpack-merge')
-const common = require('./webpack.common.js')
+const config = require('./webpack.common.js')
-module.exports = common.map(
- config => merge(config, {
- mode: 'production',
- devtool: 'source-map',
- })
-)
+module.exports = merge(config, {
+ mode: 'production',
+ devtool: 'source-map',
+})