Home > @rushstack/webpack-embedded-dependencies-plugin > EmbeddedDependenciesWebpackPlugin > apply
EmbeddedDependenciesWebpackPlugin.apply() method
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 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.
Signature:
apply(compiler: Compiler): void;
Parameters
Parameter | Type | Description |
|---|---|---|
compiler | Compiler | The webpack compiler instance. |
Returns:
void