From b54eed3ba68583e66b0debccfaa2cf8a713072aa Mon Sep 17 00:00:00 2001 From: fi3ework Date: Thu, 8 May 2025 20:25:07 +0800 Subject: [PATCH] docs(json): fix line highlighting --- website/docs/en/guide/advanced/json-files.mdx | 2 +- website/docs/zh/guide/advanced/json-files.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/en/guide/advanced/json-files.mdx b/website/docs/en/guide/advanced/json-files.mdx index d4a3c7618..449b11af8 100644 --- a/website/docs/en/guide/advanced/json-files.mdx +++ b/website/docs/en/guide/advanced/json-files.mdx @@ -243,7 +243,7 @@ If you want JSON / YAML / TOML files to be output to the distribution directory For example, the following configuration will output all JSON files in the `src` directory as-is: -```ts title="rslib.config.ts" {7,11-19} +```ts title="rslib.config.ts" {7,11-12} export default defineConfig({ lib: [ { diff --git a/website/docs/zh/guide/advanced/json-files.mdx b/website/docs/zh/guide/advanced/json-files.mdx index d73344e21..ecc62c89e 100644 --- a/website/docs/zh/guide/advanced/json-files.mdx +++ b/website/docs/zh/guide/advanced/json-files.mdx @@ -240,7 +240,7 @@ Rslib 支持在不同的打包模式下,JSON / YAML / TOML 文件以不同的 例如下面的配置将会将 `src` 目录下的所有 JSON 文件按原样输出: -```ts title="rslib.config.ts" {7,11-19} +```ts title="rslib.config.ts" {7,11-12} export default defineConfig({ lib: [ {