license-webpack-plugin

WebJar for license-webpack-plugin

License

License

ISC
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

license-webpack-plugin
Last Version

Last Version

2.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

license-webpack-plugin
WebJar for license-webpack-plugin
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/xz64/license-webpack-plugin

Download license-webpack-plugin

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/license-webpack-plugin/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>license-webpack-plugin</artifactId>
    <version>2.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/license-webpack-plugin/
implementation 'org.webjars.npm:license-webpack-plugin:2.2.0'
// https://jarcasting.com/artifacts/org.webjars.npm/license-webpack-plugin/
implementation ("org.webjars.npm:license-webpack-plugin:2.2.0")
'org.webjars.npm:license-webpack-plugin:jar:2.2.0'
<dependency org="org.webjars.npm" name="license-webpack-plugin" rev="2.2.0">
  <artifact name="license-webpack-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='license-webpack-plugin', version='2.2.0')
)
libraryDependencies += "org.webjars.npm" % "license-webpack-plugin" % "2.2.0"
[org.webjars.npm/license-webpack-plugin "2.2.0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.npm : types__webpack-sources jar [0.1.5,0.2)
org.webjars.npm : webpack-sources jar [1.2.0,2)

Project Modules

There are no modules declared in this project.

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

Versions

Version
2.2.0
1.0.1