summaryrefslogtreecommitdiffstats
path: root/webpack.dev.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.dev.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.dev.js')
-rw-r--r--webpack.dev.js12
1 files changed, 5 insertions, 7 deletions
diff --git a/webpack.dev.js b/webpack.dev.js
index 798f34ef4ff..97295dd4ea4 100644
--- a/webpack.dev.js
+++ b/webpack.dev.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: 'development',
- devtool: 'cheap-source-map',
- })
-)
+module.exports = merge(config, {
+ mode: 'development',
+ devtool: 'cheap-source-map',
+})