react-native-bundle-discovery 2.1.0-rc.1 → 2.1.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -109,7 +109,7 @@ If you've migrated to [Re.Pack](https://re-pack.dev/docs/guides/bundle-analysis)
|
|
|
109
109
|
Learn more: [Rsdoctor.md](./Rsdoctor.md)
|
|
110
110
|
|
|
111
111
|
```bash
|
|
112
|
-
npx react-native-bundle-discovery-ui rsdoctor-
|
|
112
|
+
npx react-native-bundle-discovery-ui rsdoctor-data.json --format rsdoctor
|
|
113
113
|
```
|
|
114
114
|
|
|
115
115
|
|
|
@@ -126,6 +126,16 @@ npx react-native-bundle-discovery-ui rsdoctor-report.json --format rsdoctor
|
|
|
126
126
|
| outputJsonPath: string | `<root>/metro-stats.json` | The path where the JSON report will be saved. Defaults to `metro-stats.json` in project root. |
|
|
127
127
|
| includeCode: boolean | `true` | Whether to include the source and output code in the JSON report. |
|
|
128
128
|
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
**⚠️ Be cautious sharing reports with `includeCode` enabled**
|
|
132
|
+
|
|
133
|
+
Enabling this option significantly increases report size and **embeds the source code** of your assets.
|
|
134
|
+
|
|
135
|
+
If your code is proprietary 🔒, share these reports responsibly 🤝!
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
129
139
|
### `createResolveRequest(options: ResolveRequestOptions)`
|
|
130
140
|
|
|
131
141
|
| Prop | Default value | Description |
|
package/package.json
CHANGED