added license and fixed webpack plugin
This commit is contained in:
@@ -9,6 +9,7 @@ import WebpackBuildNotifierPlugin from 'webpack-build-notifier';
|
||||
import CaseSensitivePathsPlugin from 'case-sensitive-paths-webpack-plugin';
|
||||
import HTMLWebpackPlugin from 'html-webpack-plugin';
|
||||
import MiniCssExtractPlugin from 'mini-css-extract-plugin';
|
||||
import { CleanWebpackPlugin } from 'clean-webpack-plugin';
|
||||
import TypeErrorNotifierPlugin from './custom/TypeErrorNotifierPlugin';
|
||||
|
||||
/**
|
||||
@@ -27,6 +28,8 @@ export function getBuildPlugins(mode: Environment, htmlEntries: EntryId[], manif
|
||||
// make sure that the paths are case sensitive
|
||||
plugins.push(new CaseSensitivePathsPlugin());
|
||||
|
||||
plugins.push(new CleanWebpackPlugin());
|
||||
|
||||
// specify how the outputed css files should be named
|
||||
plugins.push(
|
||||
new MiniCssExtractPlugin({
|
||||
|
||||
Reference in New Issue
Block a user