Skip to content

Commit a330298

Browse files
authored
Update website/docs/en/config/rsbuild/source.mdx
1 parent c5f807f commit a330298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/en/config/rsbuild/source.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Replaces variables in your code with other values or expressions at compile time
2424
- **CLI:** `--entry <path>` (repeatable, e.g., `--entry index=src/index.ts` or `--entry src/index.ts`)
2525

2626
The CLI argument supports two formats:
27-
1. `key=value`: Explicitly specify the entry name, e.g., `--entry main=src/main.ts`
27+
1. `key=value`: Explicitly specify the entry name, e.g., `--entry main=src/main.ts`.
2828
2. `value`: Only specify the path, in which case the basename of the file (without extension) will be automatically used as the entry name. For example, `--entry src/index.ts` will generate an entry named `index`. If there are name conflicts, numeric suffixes (starting from 0) will be added to all conflicting entries, e.g., `index0`, `index1`.
2929

3030
Used to set the entry modules for building.

0 commit comments

Comments
 (0)