Skip to content
Permalink
Browse files

fix(webpack): clean-webpack-plugin changed export

  • Loading branch information
3cp committed Feb 27, 2020
1 parent fcc06f2 commit 273a1f44c68c54d21a537b048b0ec12cd3198aab
@@ -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({});

@@ -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]) || [];

0 comments on commit 273a1f4

Please sign in to comment.
You can’t perform that action at this time.