From ac2631c417e9a68cedbe8c53d9012efea189d322 Mon Sep 17 00:00:00 2001 From: Bart Feenstra Date: Fri, 20 Dec 2024 13:34:08 +0000 Subject: [PATCH] Remove clean-webpack-plugin --- betty/extension/webpack/webpack/package.json | 1 - betty/extension/webpack/webpack/webpack.config.js | 2 -- 2 files changed, 3 deletions(-) diff --git a/betty/extension/webpack/webpack/package.json b/betty/extension/webpack/webpack/package.json index 832f78229..77feb3c12 100644 --- a/betty/extension/webpack/webpack/package.json +++ b/betty/extension/webpack/webpack/package.json @@ -7,7 +7,6 @@ "@babel/preset-env": "^7.19.4", "@babel/preset-typescript": "^7.24.1", "babel-loader": "^9.1.0", - "clean-webpack-plugin": "^4.0.0", "copy-webpack-plugin": "^12.0.2", "core-js": "^3.26.0", "css-loader": "^7.1.0", diff --git a/betty/extension/webpack/webpack/webpack.config.js b/betty/extension/webpack/webpack/webpack.config.js index c9e901acd..09968f2bc 100644 --- a/betty/extension/webpack/webpack/webpack.config.js +++ b/betty/extension/webpack/webpack/webpack.config.js @@ -1,6 +1,5 @@ 'use strict' -import { CleanWebpackPlugin } from 'clean-webpack-plugin' import CopyWebpackPlugin from 'copy-webpack-plugin' import CssMinimizerPlugin from 'css-minimizer-webpack-plugin' import MiniCssExtractPlugin from 'mini-css-extract-plugin' @@ -109,7 +108,6 @@ const webpackConfiguration = { runtimeChunk: 'single' }, plugins: [ - new CleanWebpackPlugin(), new CopyWebpackPlugin({ patterns: [ // The HttpApiDoc extension does not have a Webpack build as such (yet), but simply