summaryrefslogtreecommitdiffstats
path: root/webpack.dev.js
diff options
context:
space:
mode:
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',
+})