diff --git a/webpack.dev.js b/webpack.dev.js index 5c6e48dc77..91731c74be 100644 --- a/webpack.dev.js +++ b/webpack.dev.js @@ -1,4 +1,4 @@ -const merge = require('webpack-merge') +const { merge } = require('webpack-merge') const common = require('./webpack.common.js') module.exports = merge(common, { diff --git a/webpack.prod.js b/webpack.prod.js index 6fd8b68b4f..eb2c377c09 100644 --- a/webpack.prod.js +++ b/webpack.prod.js @@ -1,5 +1,5 @@ const common = require('./webpack.common.js') -const merge = require('webpack-merge') +const { merge } = require('webpack-merge') const TerserPlugin = require('terser-webpack-plugin') module.exports = merge(common, {