diff --git a/skeleton/dotnet-core/webpack.netcore.config.js__skip-if-exists__if_webpack b/skeleton/dotnet-core/webpack.netcore.config.js__skip-if-exists__if_webpack index bb0a3a7d4..d208208e8 100644 --- a/skeleton/dotnet-core/webpack.netcore.config.js__skip-if-exists__if_webpack +++ b/skeleton/dotnet-core/webpack.netcore.config.js__skip-if-exists__if_webpack @@ -1,6 +1,6 @@ const webpackConfig = require('./webpack.config'); const HtmlWebpackPlugin = require('html-webpack-plugin'); -const CleanWebpackPlugin = require('clean-webpack-plugin'); +const { CleanWebpackPlugin } = require('clean-webpack-plugin'); const project = require('./aurelia_project/aurelia.json'); var originalConfig = webpackConfig({}); diff --git a/skeleton/webpack/webpack.config.js b/skeleton/webpack/webpack.config.js index 85b012f8d..c83041ec3 100644 --- a/skeleton/webpack/webpack.config.js +++ b/skeleton/webpack/webpack.config.js @@ -9,7 +9,7 @@ const { AureliaPlugin, ModuleDependenciesPlugin } = require('aurelia-webpack-plu const { ProvidePlugin } = require('webpack'); // @endif const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer'); -const CleanWebpackPlugin = require('clean-webpack-plugin'); +const { CleanWebpackPlugin } = require('clean-webpack-plugin'); // config helpers: const ensureArray = (config) => config && (Array.isArray(config) ? config : [config]) || [];