From 3a974cba5d89fda0bfbf60246b11fa5f2b991b9f Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Mon, 29 Jul 2024 10:39:08 +0200 Subject: [PATCH] ci: block creation of LICENSE.txt files now replaced with .license files Signed-off-by: Andy Scherzinger --- webpack.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/webpack.js b/webpack.js index e79c62dd1..88ab85b87 100644 --- a/webpack.js +++ b/webpack.js @@ -88,6 +88,16 @@ webpackConfig.plugins.push( }) ) +// block creation of LICENSE.txt files now replaced with .license files +webpackConfig.optimization.minimizer = [new TerserPlugin({ + extractComments: false, + terserOptions: { + format: { + comments: false, + }, + }, +})] + webpackConfig.plugins = [ ...webpackConfig.plugins, // Generate reuse license files