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')