@modern-js/module-tools-docs 2.60.5 → 2.61.0
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/CHANGELOG.md +4 -0
- package/docs/en/api/config/dev.md +1 -5
- package/docs/en/api/index.md +5 -1
- package/docs/zh/api/config/dev.md +1 -5
- package/docs/zh/api/index.md +4 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -9,7 +9,7 @@ This section describes all configuration of Modern.js Module related to debuggin
|
|
|
9
9
|
## storybook
|
|
10
10
|
|
|
11
11
|
:::warning
|
|
12
|
-
**Deprecated**: This configuration is deprecated and only applicable to Storybook V6. Please see [使用Storybook](/guide/basic/using-storybook) to get more info.
|
|
12
|
+
**Deprecated**: This configuration is deprecated and only applicable to Storybook V6. Please see [使用 Storybook](/guide/basic/using-storybook) to get more info.
|
|
13
13
|
:::
|
|
14
14
|
|
|
15
15
|
### storybook.webpack
|
|
@@ -29,8 +29,6 @@ export default {
|
|
|
29
29
|
};
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
You can modify the webpack configuration of the Storybook Preview-iframe via `dev.storybook.webpack`. The usage can be found in the [`tools.webpack`](https://modernjs.dev/builder/en/api/config-tools.html#toolswebpack) configuration of Modern.js.
|
|
33
|
-
|
|
34
32
|

|
|
35
33
|
|
|
36
34
|
#### Configure Manager App
|
|
@@ -65,5 +63,3 @@ export default {
|
|
|
65
63
|
},
|
|
66
64
|
};
|
|
67
65
|
```
|
|
68
|
-
|
|
69
|
-
You can modify the webpack configuration of the Storybook Preview-iframe via `dev.storybook.webpackChain`. You can refer to Modern.js's [`tools.webpackChain`](https://modernjs.dev/builder/en/api/config-tools.html#toolswebpackchain) configuration for how to use it.
|
package/docs/en/api/index.md
CHANGED
|
@@ -9,7 +9,7 @@ sidebar_position: 3
|
|
|
9
9
|
## storybook
|
|
10
10
|
|
|
11
11
|
:::warning
|
|
12
|
-
**Deprecated**:该配置已过时,只适用于
|
|
12
|
+
**Deprecated**:该配置已过时,只适用于 Storybook V6,详情请看[使用 Storybook](/guide/basic/using-storybook)。
|
|
13
13
|
:::
|
|
14
14
|
|
|
15
15
|
### storybook.webpack
|
|
@@ -29,8 +29,6 @@ export default {
|
|
|
29
29
|
};
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
你可以通过 `dev.storybook.webpack` 来修改 Storybook Preview-iframe 的 webpack 配置。使用方式可以参考 Modern.js 的 [`tools.webpack`](https://modernjs.dev/builder/api/config-tools.html#toolswebpack) 配置。
|
|
33
|
-
|
|
34
32
|

|
|
35
33
|
|
|
36
34
|
#### 配置 Manager App
|
|
@@ -65,5 +63,3 @@ export default {
|
|
|
65
63
|
},
|
|
66
64
|
};
|
|
67
65
|
```
|
|
68
|
-
|
|
69
|
-
你可以通过 `dev.storybook.webpackChain` 来修改 Storybook Preview-iframe 的 webpack 配置。使用方式可以参考 Modern.js 的 [`tools.webpackChain`](https://modernjs.dev/builder/api/config-tools.html#toolswebpackchain) 配置。
|
package/docs/zh/api/index.md
CHANGED
package/package.json
CHANGED
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
"directory": "packages/document/module-doc"
|
|
10
10
|
},
|
|
11
11
|
"license": "MIT",
|
|
12
|
-
"version": "2.
|
|
12
|
+
"version": "2.61.0",
|
|
13
13
|
"main": "index.js",
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@modern-js/doc-plugin-auto-sidebar": "2.58.1",
|
|
16
|
-
"@rspress/shared": "1.
|
|
16
|
+
"@rspress/shared": "1.35.3",
|
|
17
17
|
"react": "^18.3.1",
|
|
18
18
|
"react-dom": "^18.3.1",
|
|
19
|
-
"rspress": "1.
|
|
19
|
+
"rspress": "1.35.3"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
22
|
"dev": "rspress dev",
|