Skip to content

Commit

Permalink
chore: work around issue with licence webpack plugin on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
philippfromme committed Jan 5, 2023
1 parent 9549df7 commit db7d32d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions client/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,12 @@ function extractDependencies() {
new LicenseWebpackPlugin({
outputFilename: 'dependencies.json',
perChunkOutput: false,
excludedPackageTest: (packageName) => {

// TODO(@philippfromme): workaround for https://github.com/camunda/camunda-modeler/issues/3249
// cf. https://github.com/xz64/license-webpack-plugin/issues/124
return packageName === 'camunda-modeler-client';
},
renderLicenses: (modules) => {

const usedModules = modules.reduce((result, m) => {
Expand Down

0 comments on commit db7d32d

Please sign in to comment.