@modern-js/main-doc 0.0.0-next-1104a9f18 → 0.0.0-next-9330022f4
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @modern-js/main-doc
|
|
2
2
|
|
|
3
|
-
## 0.0.0-next-
|
|
3
|
+
## 0.0.0-next-9330022f4
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
@@ -13,4 +13,4 @@
|
|
|
13
13
|
修复 Typo
|
|
14
14
|
|
|
15
15
|
- Updated dependencies [2c1151271]
|
|
16
|
-
- @modern-js/builder-doc@0.0.0-next-
|
|
16
|
+
- @modern-js/builder-doc@0.0.0-next-9330022f4
|
|
@@ -61,5 +61,5 @@ export default defineConfig<'rspack'>({
|
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
:::tip
|
|
64
|
-
Migrating from webpack to Rspack may have some differences in build and configuration capabilities. For more details, please refer to [Configuration Differences](https://modernjs.dev/builder/en/guide/advanced/rspack-start.html#migrating-from-webpack-to-rspack)
|
|
64
|
+
Migrating from webpack to Rspack may have some differences in build and configuration capabilities. For more details, please refer to [Configuration Differences](https://modernjs.dev/builder/en/guide/advanced/rspack-start.html#migrating-from-webpack-to-rspack).
|
|
65
65
|
:::
|
package/package.json
CHANGED
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "0.0.0-next-
|
|
14
|
+
"version": "0.0.0-next-9330022f4",
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"registry": "https://registry.npmjs.org/",
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@modern-js/builder-doc": "0.0.0-next-
|
|
20
|
+
"@modern-js/builder-doc": "0.0.0-next-9330022f4"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"ts-node": "^10",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"fs-extra": "^10",
|
|
26
26
|
"@types/node": "^16",
|
|
27
27
|
"@types/fs-extra": "^9",
|
|
28
|
-
"@modern-js/builder-doc": "0.0.0-next-
|
|
28
|
+
"@modern-js/builder-doc": "0.0.0-next-9330022f4"
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
31
|
"build": "npx ts-node ./scripts/sync.ts"
|
|
@@ -15,7 +15,7 @@ Rspack 通过以下方式来提升编译性能:
|
|
|
15
15
|
|
|
16
16
|
## 初始化 Rspack 项目
|
|
17
17
|
|
|
18
|
-
Modern.js
|
|
18
|
+
Modern.js 生成器会提供一个可交互的问答界面,只需将构建工具选择为 **rspack**,即可创建一个 Rspack 项目:
|
|
19
19
|
|
|
20
20
|
import InitRspackApp from "@site-docs/components/init-rspack-app"
|
|
21
21
|
|