Rush StackShopBlogEvents
Skip to main content

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

EmbeddedDependenciesWebpackPlugin class

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

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

Signature:

export default class EmbeddedDependenciesWebpackPlugin implements WebpackPluginInstance 

Implements: WebpackPluginInstance

Constructors

Constructor

Modifiers

Description

(constructor)(options)

(BETA) Constructs a new instance of the EmbeddedDependenciesWebpackPlugin class

Methods

Method

Modifiers

Description

apply(compiler)

(BETA) Webpack plugin apply method. This method is called by the webpack compiler to apply the plugin, however it not usually needed to be invoked manually by the developer in a webpack configuration. However, if you are calling this plugin (applying it from another plugin) you can call plugin.apply(compiler) to apply the plugin and invoke it.