Home > @lynx-js/react-rsbuild-plugin > PluginReactLynxOptions > extractStr

PluginReactLynxOptions.extractStr property

Merge same string literals in JS and Lepus to reduce output bundle size. Set to false to disable.

Signature:

extractStr?: Partial<ExtractStrConfig> | boolean;
Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.