Skip to content

Commit

Permalink
ci: block creation of LICENSE.txt files now replaced with .license files
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Scherzinger <[email protected]>
  • Loading branch information
AndyScherzinger committed Jul 29, 2024
1 parent c0b4e57 commit 3a974cb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3a974cb

Please sign in to comment.