license-webpack-plugin

Outputs licenses from 3rd party libraries to a file

ISC 79 个版本
安装
npm install license-webpack-plugin
yarn add license-webpack-plugin
pnpm add license-webpack-plugin
bun add license-webpack-plugin
README

License Webpack Plugin

Build Status

Manage third-party license compliance in your webpack build.

Installation

npm install license-webpack-plugin --save-dev

Usage

To use the plugin, simply add it to the plugins section in the webpack config.

Example:

const LicenseWebpackPlugin = require('license-webpack-plugin').LicenseWebpackPlugin;

module.exports = {
  plugins: [
    new LicenseWebpackPlugin()
  ]
};

The default behavior will add a license notice file to each chunk of the webpack build. In addition, it will add a banner indicating the path to the license notice file in any Javascript assets. Third party libraries imported via external tools like SASS @import may not appear in the output (since webpack does not process @import). If this issue happens, please specify additional modules that the plugin should scan.

To configure the plugin, check the documentation.

Build Instructions

yarn
yarn build

Migration Guides

Migration guides for breaking changes are documented here.

Changelog

The changelog can be found here.

License

ISC

版本列表
4.0.2 2022-02-10
4.0.1 2022-01-27
4.0.0 2021-11-12
3.0.0 2021-10-02
2.3.21 2021-08-20
2.3.20 2021-07-12
2.3.19 2021-05-31
2.3.18 2021-05-08
2.3.17 2021-04-11
2.3.16 2021-03-26
2.3.15 2021-03-04
2.3.14 2021-02-19
2.3.13 2021-02-12
2.3.12 2021-02-12
2.3.11 2021-01-12
2.3.10 2021-01-07
2.3.9 2020-12-25
2.3.8 2020-12-25
2.3.7 2020-12-24
2.3.6 2020-12-24
2.3.5 2020-12-24
2.3.4 2020-12-23
2.3.3 2020-12-23
2.3.2 2020-12-08
2.3.1 2020-10-24
2.3.0 2020-07-12
2.2.0 2020-05-03
2.1.4 2020-03-13
2.1.3 2019-10-14
2.1.2 2019-08-12
2.1.1 2019-02-23
2.1.0 2019-01-12
2.0.4 2018-11-30
2.0.3 2018-11-04
2.0.2 2018-10-09
2.0.1 2018-09-23
2.0.0-beta.3 2018-09-22
2.0.0-beta.2 2018-09-18
2.0.0-beta.1 2018-09-17
2.0.0-beta.0 2018-09-16
2.0.0-alpha.9 2018-08-28
2.0.0-alpha.8 2018-08-28
2.0.0-alpha.7 2018-08-25
2.0.0-alpha.6 2018-07-13
2.0.0-alpha.5 2018-07-08
2.0.0-alpha.4 2018-06-25
2.0.0-alpha.3 2018-06-05
2.0.0-alpha.2 2018-06-05
2.0.0-alpha.1 2018-05-24
2.0.0-alpha.0 2018-05-24
2.0.0 2018-09-23
1.5.0 2018-09-21
1.4.0 2018-08-05
1.3.1 2018-03-22
1.3.0 2018-03-10
1.2.3 2018-03-04
1.2.2 2018-03-04
1.2.1 2018-03-04
1.2.0 2018-03-04
1.1.2 2018-02-24
1.1.1 2017-10-20
1.1.0 2017-10-04
1.0.2 2017-09-30
1.0.1 2017-09-14
1.0.0 2017-08-12
0.6.0 2017-08-04
0.5.1 2017-07-05
0.5.0 2017-04-08
0.4.3 2017-03-12
0.4.2 2017-01-19
0.4.1 2016-12-18
0.4.0 2016-11-23
0.3.0 2016-10-22
0.2.1 2016-10-22
0.2.0 2016-09-24
0.1.4 2016-07-04
0.1.3 2016-07-04
0.1.2 2016-07-03
0.1.1 2016-07-02