From 87909b599e08a2361173c3a8717927da51e1aec3 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Fri, 12 Feb 2021 22:43:31 +0100 Subject: [PATCH] Use named import for webpack-merge Signed-off-by: David Mehren --- webpack.dev.js | 2 +- webpack.prod.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack.dev.js b/webpack.dev.js index 0e84f7a4e..7c7edb614 100644 --- a/webpack.dev.js +++ b/webpack.dev.js @@ -1,6 +1,6 @@ const common = require('./webpack.common.js') const htmlexport = require('./webpack.htmlexport') -const merge = require('webpack-merge') +const { merge } = require('webpack-merge'); module.exports = [ // merge common config diff --git a/webpack.prod.js b/webpack.prod.js index 4dfac1a8a..5c523c065 100644 --- a/webpack.prod.js +++ b/webpack.prod.js @@ -1,6 +1,6 @@ const common = require('./webpack.common.js') const htmlexport = require('./webpack.htmlexport') -const merge = require('webpack-merge') +const { merge } = require('webpack-merge'); const path = require('path') const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin')