Skip to content

jimjaeger/webpack-licenses-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/)

About

Auto generate a list of libraries and their licenses as part of your webpack build

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%