From eb77059ec63fbd12553537180c923f1ded3fd46b Mon Sep 17 00:00:00 2001 From: Nick Date: Sat, 1 Jun 2019 00:50:17 -0400 Subject: [PATCH] fix: webpack build error --- dev/webpack/webpack.prod.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/webpack/webpack.prod.js b/dev/webpack/webpack.prod.js index e6ffaa4c..fdff5ce1 100644 --- a/dev/webpack/webpack.prod.js +++ b/dev/webpack/webpack.prod.js @@ -4,7 +4,7 @@ const fs = require('fs-extra') const yargs = require('yargs').argv const _ = require('lodash') -const CleanWebpackPlugin = require('clean-webpack-plugin') +const { CleanWebpackPlugin } = require('clean-webpack-plugin') const CopyWebpackPlugin = require('copy-webpack-plugin') const HtmlWebpackPlugin = require('html-webpack-plugin') const HtmlWebpackPugPlugin = require('html-webpack-pug-plugin') @@ -204,7 +204,7 @@ module.exports = { filename: '../server/views/master.pug', hash: false, inject: false, - excludeChunks : ['setup'] + excludeChunks: ['setup'] }), new HtmlWebpackPlugin({ template: 'dev/templates/setup.pug',