这是开发预览网站。请访问正式文档 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.