From b9f822d3085f9a337237ce9e9c212346d0daa0b3 Mon Sep 17 00:00:00 2001 From: Sharon Kennedy Date: Thu, 7 May 2020 14:59:36 -0400 Subject: [PATCH] latest build --- webpack.config.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index f84c280..a5e5945 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -3,7 +3,6 @@ const increaseSpecificity = require('postcss-increase-specificity'); const autoprefixer = require('autoprefixer'); const CopyPlugin = require('copy-webpack-plugin'); const path = require('path'); -const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin; const devMode = process.env.NODE_ENV !== 'production'; @@ -27,8 +26,7 @@ const defaultConfig = { new CopyPlugin([ { from: 'public', to: '.' }, ]), - ( devMode ? new BundleAnalyzerPlugin() : null ) - ].map(i => i), + ], module: { rules: [ {