@rsdoctor/docs 0.3.1-beta.0 → 0.3.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.
|
@@ -185,3 +185,11 @@ When enabling the analysis of BannerPlugin, Rsdoctor should not be used in produ
|
|
|
185
185
|
:::
|
|
186
186
|
|
|
187
187
|
If `supports.banner` is enabled, Rsdoctor will enable compatibility logic for BannerPlugin. For more details, please refer to: [Supports BannerPlugin](../../guide/usage/bundle-size#supports-bannerplugin)
|
|
188
|
+
|
|
189
|
+
### port
|
|
190
|
+
|
|
191
|
+
- **Type:** `number`
|
|
192
|
+
- **Optional:** `true`
|
|
193
|
+
- **Default:** `random(3000, 8999)`
|
|
194
|
+
|
|
195
|
+
Configure the port for the Rsdoctor server.
|
|
@@ -160,3 +160,11 @@ type ISupport = {
|
|
|
160
160
|
:::
|
|
161
161
|
|
|
162
162
|
如果开启 `supports.banner` 则会开启 Rsdoctor 对 BannerPlugin 的兼容逻辑。详细请看:[支持 BannerPlugin](../../guide/usage/bundle-size#%E6%94%AF%E6%8C%81-bannerplugin)
|
|
163
|
+
|
|
164
|
+
### port
|
|
165
|
+
|
|
166
|
+
- **Type:** `number`
|
|
167
|
+
- **Optional:** `true`
|
|
168
|
+
- **Default:** `random(3000, 8999)`
|
|
169
|
+
|
|
170
|
+
配置 Rsdoctor 服务的端口。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdoctor/docs",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/web-infra-dev/rsdoctor",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"rsbuild-plugin-open-graph": "1.0.0",
|
|
29
29
|
"rspress-plugin-font-open-sans": "^1.0.0",
|
|
30
30
|
"typescript": "^5.2.2",
|
|
31
|
-
"@rsdoctor/types": "0.3.
|
|
31
|
+
"@rsdoctor/types": "0.3.2"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"framer-motion": "^10.17.6",
|