0.0.3 • Published 7 years ago

webpack-licenses-plugin v0.0.3

Weekly downloads
8
License
MIT
Repository
github
Last release
7 years ago

Update

This plugin is not actively maintained. Please use https://github.com/xz64/license-webpack-plugin

WebpackLicensesPlugin

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.

Usage

new WebpackLicensesPlugin(options)

Default Options

{
  acceptable: /.*/,
  unacceptable: /unlicensed/i,
  selected: {},
  title: 'Licenses:',
  filename: 'LICENSES.txt',
}

This plugin supports text and markdown files (auto-detected from the filename).

Output

Licenses:

d3 licensed under BSD-3-Clause (http://d3js.org)

lodash licensed under MIT (https://lodash.com/)