Interactive interface for browsing global, full-resolution satellite imagery
Update CleanWebpackPlugin import and build directory syntax
ZachTRice8e617ce1f6c5
diff --git a/webpack.config.js b/webpack.config.jsindex f1adf19d6..d1f9836dc 100644--- a/webpack.config.js+++ b/webpack.config.js@@ -1,6 +1,6 @@const path = require('path');const webpack = require('webpack');-const CleanWebpackPlugin = require('clean-webpack-plugin');+const { CleanWebpackPlugin } = require('clean-webpack-plugin');const HtmlWebpackPlugin = require('html-webpack-plugin');const MiniCssExtractPlugin = require('mini-css-extract-plugin');const WriteFilePlugin = require('write-file-webpack-plugin');@@ -17,7 +17,7 @@ const MomentLocalesPlugin = require('moment-locales-webpack-plugin');const devMode = process.env.NODE_ENV !== 'production';const pluginSystem = [- new CleanWebpackPlugin(['web/build']),+ new CleanWebpackPlugin({ cleanAfterEveryBuildPatterns: ['web/build'] }),new HtmlWebpackPlugin({hash: true,title: 'Worldview',