Use named import for webpack-merge

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2021-02-12 22:43:31 +01:00
parent 6b2b0d3b38
commit 87909b599e
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
const common = require('./webpack.common.js') const common = require('./webpack.common.js')
const htmlexport = require('./webpack.htmlexport') const htmlexport = require('./webpack.htmlexport')
const merge = require('webpack-merge') const { merge } = require('webpack-merge');
module.exports = [ module.exports = [
// merge common config // merge common config

View file

@ -1,6 +1,6 @@
const common = require('./webpack.common.js') const common = require('./webpack.common.js')
const htmlexport = require('./webpack.htmlexport') const htmlexport = require('./webpack.htmlexport')
const merge = require('webpack-merge') const { merge } = require('webpack-merge');
const path = require('path') const path = require('path')
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin') const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin')