Webpack bundle license compliance?

Viewed 6864

Is there a way to perform license compliance checks with webpack? Ideally the license headers from all the modules built by webpack are included in the final out file, but how do we check that that is the case?

Also is there a plugin that can detect license compatibility conflicts?

2 Answers

If a dependency and the resulting transitive dependencies are defined under dependencies or devDependencies is usually not related to the question if the dependency is included in the webpack build output or not. Try webpack-license-plugin, it might help you with your problems.

If you have questions, feel free to ask. I'm the maintainer of the module, so i might be able to help!

Related