diff options
author | David Mehren | 2021-02-12 22:43:31 +0100 |
---|---|---|
committer | David Mehren | 2021-02-12 22:43:31 +0100 |
commit | 87909b599e08a2361173c3a8717927da51e1aec3 (patch) | |
tree | c8e9dac4d0c4b675b7ff9c16741e158d1b4d7200 | |
parent | 6b2b0d3b3810c1cbfc4ff021429caccfa7e5f717 (diff) |
Use named import for webpack-merge
Signed-off-by: David Mehren <git@herrmehren.de>
Diffstat (limited to '')
-rw-r--r-- | webpack.dev.js | 2 | ||||
-rw-r--r-- | webpack.prod.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/webpack.dev.js b/webpack.dev.js index 0e84f7a4..7c7edb61 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 4dfac1a8..5c523c06 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') |