Home > @lynx-js/react-webpack-plugin > ReactWebpackPluginOptions
#ReactWebpackPluginOptions interface
The options for ReactWebpackPlugin
Signature:
interface ReactWebpackPluginOptions #Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
boolean | undefined |
(Optional) | ||
|
boolean |
(Optional) | ||
|
boolean |
(ALPHA) (Optional) Whether to enable lazy bundle. | ||
|
Partial<ExtractStrConfig> | boolean |
(Optional) Merge same string literals in JS and Lepus to reduce output bundle size. Set to | ||
|
'immediately' | 'jsReady' |
(Optional) This flag controls when MainThread (Lepus) transfers control to Background after the first screen This flag has two options:
After handing over control, MainThread (Lepus) runtime can no longer respond to data updates, and data updates will be forwarded to background (JS Runtime) and processed __asynchronously__ | ||
|
'reactive' | 'event' |
(Optional) Configure the update mode of This flag has two options:
| ||
|
string[] | undefined |
(Optional) The chunk names to be considered as main thread chunks. | ||
|
boolean | undefined |
(Optional) Whether to enable profile. | ||
|
string |
The file path of |

