1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

Remove clean-webpack-plugin (#8240)

This commit is contained in:
Daniel García
2024-03-12 18:02:47 +01:00
committed by GitHub
parent ddac10136f
commit 6b74daacd6
8 changed files with 3 additions and 188 deletions

View File

@@ -2,7 +2,6 @@ const fs = require("fs");
const path = require("path");
const { AngularWebpackPlugin } = require("@ngtools/webpack");
const { CleanWebpackPlugin } = require("clean-webpack-plugin");
const CopyWebpackPlugin = require("copy-webpack-plugin");
const HtmlWebpackInjector = require("html-webpack-injector");
const HtmlWebpackPlugin = require("html-webpack-plugin");
@@ -87,7 +86,6 @@ const moduleRules = [
];
const plugins = [
new CleanWebpackPlugin(),
new HtmlWebpackPlugin({
template: "./src/index.html",
filename: "index.html",
@@ -371,6 +369,7 @@ const webpackConfig = {
output: {
filename: "[name].[contenthash].js",
path: path.resolve(__dirname, "build"),
clean: true,
},
module: {
noParse: /\.wasm$/,