Skip to content

Commit 838eaad

Browse files
authored
Update website/docs/en/guide/advanced/json-files.mdx
1 parent d55042d commit 838eaad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ In bundleless mode ([`bundle: false`](/config/lib/bundle)), each JSON / YAML / T
237237

238238
If you want JSON / YAML / TOML files to be output to the distribution directory as-is, and keep the reference paths to these files in the output JavaScript files, you can achieve this through the following steps:
239239

240-
1. Exclude JSON / YAML / TOML files from the [bundleless](/config/rsbuild/source#sourceentry) entry file glob pattern.
240+
1. Exclude JSON / YAML / TOML files from the [source.entry](/config/rsbuild/source#sourceentry) entry file glob pattern.
241241
2. Reserve request paths for JSON / YAML / TOML files in [output.externals](/config/rsbuild/output#outputexternals).
242242
3. Add [output.copy](/config/rsbuild/output#outputcopy) option to the output configuration, specifying the output path for JSON / YAML / TOML files.
243243

0 commit comments

Comments
 (0)