This is the dev preview website. Check out the document at lynxjs.org

Home > @lynx-js/react-refresh-webpack-plugin > ReactRefreshWebpackPlugin > (constructor)

ReactRefreshWebpackPlugin.(constructor)

Constructs a new instance of the ReactRefreshWebpackPlugin class

Signature:

constructor(options?: ReactRefreshWebpackPluginOptions | undefined);

Parameters

Parameter

Type

Description

options

ReactRefreshWebpackPluginOptions | undefined

(Optional) The options for react refresh.