Skip to content

Commit af5cec4

Browse files
authored
docs(json): fix line highlighting (#971)
1 parent 484b7cd commit af5cec4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/docs/en/guide/advanced/json-files.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ If you want JSON / YAML / TOML files to be output to the distribution directory
243243

244244
For example, the following configuration will output all JSON files in the `src` directory as-is:
245245

246-
```ts title="rslib.config.ts" {7,11-19}
246+
```ts title="rslib.config.ts" {7,11-12}
247247
export default defineConfig({
248248
lib: [
249249
{

website/docs/zh/guide/advanced/json-files.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ Rslib 支持在不同的打包模式下,JSON / YAML / TOML 文件以不同的
240240

241241
例如下面的配置将会将 `src` 目录下的所有 JSON 文件按原样输出:
242242

243-
```ts title="rslib.config.ts" {7,11-19}
243+
```ts title="rslib.config.ts" {7,11-12}
244244
export default defineConfig({
245245
lib: [
246246
{

0 commit comments

Comments
 (0)