Home > @lynx-js/react-rsbuild-plugin > ExtractStrConfig

ExtractStrConfig interface

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

Signature:

export interface ExtractStrConfig 

Properties

Property

Modifiers

Type

Description

strLength

number

The minimum length of string literals to be extracted.

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.