license-loader

0.7.0 • Public • Published

license-loader

Inline licenses into Webpack's output bundle.

NPM

Install

npm i -D license-loader

Usage

Include it as a loader targeting imports from node_modules and it will parse license information from the import's package.json and common license files.

webpack.config.js

  module: {
    loaders: [
      { test: /\.js$/, include: /node_modules/, loader: 'license-loader' }
    ]
  }

Output

The first occurrence of each package (name / version combination) will get complete readable license information emitted.

license

Readme

Keywords

Package Sidebar

Install

npm i license-loader

Weekly Downloads

52

Version

0.7.0

License

Apache-2.0

Unpacked Size

174 kB

Total Files

9

Last publish

Collaborators

  • cchamberlain