> For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt.

# Interface: ExtractStrConfig

合并 JS 和 Lepus 中相同的字符串字面量，以减小输出 bundle 的体积。
设为 `false` 可关闭此功能。

## Properties

### strLength

> **strLength**: `number`

被提取的字符串字面量的最小长度。

#### Default Value

`20`

#### Example

```js
import { defineConfig } from '@lynx-js/rspeedy'
import { pluginReactLynx } from '@lynx-js/react-rsbuild-plugin'

export default defineConfig({
  plugins: [
    pluginReactLynx({
      extractStr: {
        strLength: 10,
      },
    })
  ],
})
```
