@modern-js/main-doc 0.0.0-nightly-20240117170631 → 0.0.0-nightly-20240120170632

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.
@@ -62,7 +62,7 @@ In Modern.js, the [tools.webpack](/configure/app/tools/webpack) and [tools.webpa
62
62
  ```diff
63
63
  export default {
64
64
  tools: {
65
- - webppack: (config, { env }) => {
65
+ - webpack: (config, { env }) => {
66
66
  + rspack: (config, { env }) => {
67
67
  if (env === 'development') {
68
68
  config.devtool = 'cheap-module-eval-source-map';
@@ -117,7 +117,7 @@ Usually, the latest version of Rspack will be integrated into Modern.js. You can
117
117
 
118
118
  However, Modern.js uses a locked version dependency method (non-automatic upgrade) for Rspack. Due to differences in release cycles, the version of Rspack integrated into Modern.js may be behind the latest version of Rspack.
119
119
 
120
- When Rspack is enabled for building through dev / build, the current version of Rspack used in the framework will be printed automatically when debugging mode is turned on:
120
+ When Rspack is enabled for building through dev / build, the current version of Rspack used in the framework will be printed automatically when [debugging mode](https://rsbuild.dev/guide/debug/debug-mode) is turned on:
121
121
 
122
122
  ![rspack_version_log](https://lf3-static.bytednsdoc.com/obj/eden-cn/6221eh7uhbfvhn/modern/20240110-155444.png)
123
123
 
@@ -60,7 +60,7 @@ Modern.js 中 [tools.webpack](/configure/app/tools/webpack) 和 [tools.webpackCh
60
60
  ```diff
61
61
  export default {
62
62
  tools: {
63
- - webppack: (config, { env }) => {
63
+ - webpack: (config, { env }) => {
64
64
  + rspack: (config, { env }) => {
65
65
  if (env === 'development') {
66
66
  config.devtool = 'cheap-module-eval-source-map';
@@ -116,7 +116,7 @@ export default {
116
116
 
117
117
  但 Modern.js 对于 Rspack 的依赖方式为锁版本方式(非自动升级),由于发版周期不同步等原因,可能会出现 Modern.js 内集成的 Rspack 版本落后于 Rspack 最新版本的情况。
118
118
 
119
- 当你执行 dev / build 命令时,Modern.js 会在开启调试模式时自动打印当前使用的 Rspack 版本:
119
+ 当你执行 dev / build 命令时,Modern.js 会在[开启调试模式时](https://rsbuild.dev/zh/guide/debug/debug-mode)自动打印当前使用的 Rspack 版本:
120
120
 
121
121
  ![rspack_version_log](https://lf3-static.bytednsdoc.com/obj/eden-cn/6221eh7uhbfvhn/modern/20240110-155444.png)
122
122
 
package/package.json CHANGED
@@ -15,17 +15,17 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-nightly-20240117170631",
18
+ "version": "0.0.0-nightly-20240120170632",
19
19
  "publishConfig": {
20
20
  "registry": "https://registry.npmjs.org/",
21
21
  "access": "public",
22
22
  "provenance": true
23
23
  },
24
24
  "dependencies": {
25
- "@modern-js/sandpack-react": "0.0.0-nightly-20240117170631"
25
+ "@modern-js/sandpack-react": "0.0.0-nightly-20240120170632"
26
26
  },
27
27
  "peerDependencies": {
28
- "@modern-js/builder-doc": "0.0.0-nightly-20240117170631"
28
+ "@modern-js/builder-doc": "0.0.0-nightly-20240120170632"
29
29
  },
30
30
  "devDependencies": {
31
31
  "classnames": "^2",
@@ -35,12 +35,12 @@
35
35
  "ts-node": "^10.9.1",
36
36
  "typescript": "^5",
37
37
  "fs-extra": "^10",
38
- "rspress": "1.9.3",
39
- "@rspress/shared": "1.9.3",
38
+ "rspress": "1.10.1",
39
+ "@rspress/shared": "1.10.1",
40
40
  "@types/node": "^16",
41
41
  "@types/fs-extra": "9.0.13",
42
- "@modern-js/builder-doc": "0.0.0-nightly-20240117170631",
43
- "@modern-js/doc-plugin-auto-sidebar": "0.0.0-nightly-20240117170631"
42
+ "@modern-js/builder-doc": "0.0.0-nightly-20240120170632",
43
+ "@modern-js/doc-plugin-auto-sidebar": "0.0.0-nightly-20240120170632"
44
44
  },
45
45
  "scripts": {
46
46
  "dev": "rspress dev",