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