added license and fixed webpack plugin

This commit is contained in:
Sriram Hariharan
2023-03-03 11:08:16 -06:00
parent 5203d3acf8
commit f3ee5a0854
3 changed files with 24 additions and 5 deletions

View File

@@ -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({