fix: webpack config (#82)

This commit is contained in:
Benjamin Boudreau 2019-04-27 08:01:14 -04:00 committed by GitHub
parent ca2ff25bd7
commit 23dc317c97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ const devMode = process.env.NODE_ENV !== 'production';
const defaultConfig = { const defaultConfig = {
mode: 'production', mode: 'production',
plugins: [ plugins: [
new CleanWebpackPlugin(['dist/']), new CleanWebpackPlugin(),
new MiniCssExtractPlugin({ new MiniCssExtractPlugin({
// Options similar to the same options in webpackOptions.output // Options similar to the same options in webpackOptions.output
// both options are optional // both options are optional