@rsdoctor/docs 0.4.7 → 0.4.9
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.
|
@@ -35,7 +35,7 @@ features 属性是用于分析功能开关的,具体的功能项如下:
|
|
|
35
35
|
- **resolver**:resolver 分析,默认关闭。
|
|
36
36
|
- **lite**: **(废弃,参考:[mode.lite]())** lite 模式。lite 模式和普通模式的区别就是不再缓存源码信息,只缓存打包后的代码信息,这样分析页面上的代码也将是打包后的。默认普通模式。
|
|
37
37
|
|
|
38
|
-
所以,**默认配置是开启了 Bundle 分析能力、 Loader
|
|
38
|
+
所以,**默认配置是开启了 Bundle 分析能力、 Loader 和 Plugin 构建时分析**。没有开启 Resolver 分析能力, Rspack 暂不支持 Resolver 分析能力。
|
|
39
39
|
|
|
40
40
|
:::tip
|
|
41
41
|
**如果出现了 out of memory 的报错,可以尝试:**
|
|
@@ -105,7 +105,7 @@ features 属性是用于分析功能开关的,具体的功能项如下:
|
|
|
105
105
|
- **resolver**:resolver 分析,默认关闭。
|
|
106
106
|
- **lite**: **(废弃,使用 [mode.lite](#mode))** lite 模式。lite 模式和普通模式的区别就是不再展示源码信息,只展示打包后的代码信息,这样分析页面上的代码也将是打包后的。默认普通模式。
|
|
107
107
|
|
|
108
|
-
所以,**默认配置是开启了 Bundle 分析能力、 Loader
|
|
108
|
+
所以,**默认配置是开启了 Bundle 分析能力、 Loader 和 Plugin 构建时分析**。没有开启 Resolver 分析能力, Rspack 暂不支持 Resolver 分析能力。
|
|
109
109
|
|
|
110
110
|
:::tip
|
|
111
111
|
**如果出现了 out of memory 的报错,可以尝试:**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdoctor/docs",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.9",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/web-infra-dev/rsdoctor",
|
|
@@ -19,8 +19,9 @@
|
|
|
19
19
|
"registry": "https://registry.npmjs.org/"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
+
"@rspress/plugin-rss": "^1.37.2",
|
|
22
23
|
"@types/node": "^16",
|
|
23
|
-
"@types/react": "^18.3.
|
|
24
|
+
"@types/react": "^18.3.12",
|
|
24
25
|
"@types/react-dom": "^18.3.1",
|
|
25
26
|
"react": "18.3.1",
|
|
26
27
|
"react-dom": "18.3.1",
|
|
@@ -28,14 +29,13 @@
|
|
|
28
29
|
"rsbuild-plugin-open-graph": "^1.0.2",
|
|
29
30
|
"rspress-plugin-font-open-sans": "^1.0.0",
|
|
30
31
|
"rspress-plugin-sitemap": "^1.1.1",
|
|
31
|
-
"@rspress/plugin-rss": "^1.33.1",
|
|
32
32
|
"typescript": "^5.2.2",
|
|
33
|
-
"@rsdoctor/types": "0.4.
|
|
33
|
+
"@rsdoctor/types": "0.4.9"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
+
"@rstack-dev/doc-ui": "1.5.4",
|
|
36
37
|
"react-markdown": "^9.0.1",
|
|
37
|
-
"
|
|
38
|
-
"rspress": "^1.33.1"
|
|
38
|
+
"rspress": "^1.37.2"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"dev": "rspress dev",
|