Skip to content

Commit 2138767

Browse files
committed
docs: update cli docs
1 parent 204112f commit 2138767

2 files changed

Lines changed: 12 additions & 10 deletions

File tree

website/src/latest/api/cli/bundle.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import { PackageManagerTabs } from 'rspress/theme';
2121

2222
To stay compatible with the `@react-native-community/cli` command, the following flags are included but are not functional:
2323

24-
- `--reset-cache`
2524
- `--config-cmd`
2625

2726
:::
@@ -102,6 +101,12 @@ Example:
102101

103102
More details: [Rspack documentation](https://rspack.dev/config/stats)
104103

104+
### `--reset-cache`
105+
106+
- Type: `boolean`
107+
108+
Resets the transformation cache.
109+
105110
### `--verbose`
106111

107112
- Type: `boolean`

website/src/latest/api/cli/start.mdx

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,6 @@ import { PackageManagerTabs } from 'rspress/theme';
1919

2020
## Options
2121

22-
:::info
23-
24-
To stay compatible with the `@react-native-community/cli` command, the following flags are included but are not functional:
25-
26-
- `--reset-cache`
27-
- `--resetCache`
28-
29-
:::
30-
3122
### `--port`
3223

3324
- Type: `number`
@@ -95,6 +86,12 @@ Run the dev server for the specified platform only. By default, the dev server w
9586

9687
Disables running ADB reverse automatically when bundling for Android.
9788

89+
### `--reset-cache`, `--resetCache`
90+
91+
- Type: `boolean`
92+
93+
Resets the transformation cache.
94+
9895
### `--verbose`
9996

10097
- Type: `boolean`

0 commit comments

Comments
 (0)