Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/webpack-embedded-dependencies-plugin

webpack-embedded-dependencies-plugin package

A webpack plugin for generating a list of embedded dependencies. Embedded dependencies are third-party packages which are being bundled into your released code and are often times subject to license, security, and other legal requirements. This plugin aims to make it easier to generate a list of embedded dependencies and their associated metadata, so they can be analyzed by additional tools.

Remarks

The plugin also includes the ability to generate a secondary asset which contains the license text for each embedded dependency into a single file called THIRD-PARTY-NOTICES.html. This is a common legal requirement for large companies deploying commercial services/products containing open source code.

Classes

Class

Description

EmbeddedDependenciesWebpackPlugin

(BETA) Webpack plugin that generates a file with the list of embedded dependencies and their licenses.

Interfaces

Interface

Description

IEmbeddedDependenciesWebpackPluginOptions

(BETA) Plugin options for EmbeddedDependenciesWebpackPlugin

IPackageData

(BETA) Data type for a package.json file. This is a superset of the full package.json file and includes additional fields that are generated by the plugin, including licenseSource, licenses, copyright, and author.

Type Aliases

Type Alias

Description

LicenseFileGeneratorFunction

(BETA) Function type that generates the license file.

LicenseFileName

(BETA) Loose string type that represents the name of the generated license file.