Home > @lynx-js/react-webpack-plugin > ReactLoaderOptions
The options of the ReactLynx plugin.
Signature:
Property | Modifiers | Type | Description |
---|---|---|---|
compat? | CompatVisitorConfig | undefined | (Optional) The compat option controls compatibilities with ReactLynx2.0. | |
defineDCE? | DefineDceVisitorConfig | undefined | (Optional) Like define in various bundlers, but this one happens at transform time, and a DCE pass will be performed. | |
enableRemoveCSSScope? | boolean | undefined | (Optional) | |
inlineSourcesContent? | boolean | undefined | (Optional) Generate inline source content in source-map. | |
jsx? | JsxTransformerConfig | undefined | (Optional) | |
refresh? | boolean | undefined | (Optional) Enable the Fast Refresh for ReactLynx. | |
shake? | ShakeVisitorConfig | undefined | (Optional) How main-thread code will be shaken. |