Home > @lynx-js/react-refresh-webpack-plugin > ReactRefreshWebpackPlugin > apply

ReactRefreshWebpackPlugin.apply() method

The entry point of a webpack plugin.

Signature:

apply(compiler: Compiler): void;

Parameters

ParameterTypeDescription
compilerCompilerthe webpack compiler

Returns:

void