This plugin is not actively maintained. Please use https://github.com/xz64/license-webpack-plugin
Adds a file to your webpack build with license information about all your dependencies.
This plugin will fail the build if a dependency has a missing or unacceptable license.
new WebpackLicensesPlugin(options)
{
acceptable: /.*/,
unacceptable: /unlicensed/i,
selected: {},
title: 'Licenses:',
filename: 'LICENSES.txt',
}
This plugin supports text and markdown files (auto-detected from the filename).
Licenses:
d3 licensed under BSD-3-Clause (http://d3js.org)
lodash licensed under MIT (https://lodash.com/)