You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/document/docs/en/apis/app/commands.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -150,7 +150,7 @@ Options:
150
150
151
151
## modern inspect
152
152
153
-
The `modern inspect` command is used to view the Modern.js config, [Rsbuild config](https://rsbuild.rs/config/index) and Rspack config of the project.
153
+
The `modern inspect` command is used to view the Modern.js config, [Rsbuild config](https://v2.rsbuild.dev/config/index) and Rspack config of the project.
[Rsbuild](https://rsbuild.rs/) is an Rspack-based build tool for the web. The main goal of Rsbuild is to provide out-of-the-box build capabilities for Rspack users, allowing developers to start a web project with zero configuration.
1
+
[Rsbuild](https://v2.rsbuild.dev/) is an Rspack-based build tool for the web. The main goal of Rsbuild is to provide out-of-the-box build capabilities for Rspack users, allowing developers to start a web project with zero configuration.
2
2
3
3
Rsbuild integrates high-performance Rust-based tools from the community, including Rspack and SWC, to provide first-class build speed and development experience.
Copy file name to clipboardExpand all lines: packages/document/docs/en/configure/app/builder-plugins.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ sidebar_position: 21
9
9
10
10
Used to configure the Rsbuild plugin.
11
11
12
-
Rsbuild is the build tool of Modern.js, please read [Build Engine](/guides/concept/builder) for background. If you want to know how to write Rsbuild plugins, you can refer to [Rsbuild - Plugin System](https://rsbuild.rs/plugins/dev/index).
12
+
Rsbuild is the build tool of Modern.js, please read [Build Engine](/guides/concept/builder) for background. If you want to know how to write Rsbuild plugins, you can refer to [Rsbuild - Plugin System](https://v2.rsbuild.dev/plugins/dev/index).
Copy file name to clipboardExpand all lines: packages/document/docs/en/configure/app/dev/server.mdx
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ export default {
28
28
};
29
29
```
30
30
31
-
For more details, please refer to the [Rsbuild - server.compress](https://rsbuild.rs/config/server/compress) documentation.
31
+
For more details, please refer to the [Rsbuild - server.compress](https://v2.rsbuild.dev/config/server/compress) documentation.
32
32
33
33
### headers
34
34
@@ -49,7 +49,7 @@ export default {
49
49
};
50
50
```
51
51
52
-
For more details, please refer to the [Rsbuild - server.headers](https://rsbuild.rs/config/server/headers) documentation.
52
+
For more details, please refer to the [Rsbuild - server.headers](https://v2.rsbuild.dev/config/server/headers) documentation.
53
53
54
54
### historyApiFallback
55
55
@@ -68,7 +68,7 @@ export default {
68
68
};
69
69
```
70
70
71
-
For more configuration options, please refer to the [Rsbuild - server.historyApiFallback](https://rsbuild.rs/config/server/history-api-fallback) documentation.
71
+
For more configuration options, please refer to the [Rsbuild - server.historyApiFallback](https://v2.rsbuild.dev/config/server/history-api-fallback) documentation.
72
72
73
73
### watch
74
74
@@ -77,7 +77,7 @@ For more configuration options, please refer to the [Rsbuild - server.historyApi
77
77
78
78
Whether to watch files change in directories such as `mock/`, `server/`, `api/`.
79
79
80
-
For more details, please refer to the [Rsbuild - dev.watchFiles](https://rsbuild.rs/config/dev/watch-files) documentation.
80
+
For more details, please refer to the [Rsbuild - dev.watchFiles](https://v2.rsbuild.dev/config/dev/watch-files) documentation.
81
81
82
82
### cors
83
83
@@ -100,7 +100,7 @@ const defaultOptions = {
100
100
};
101
101
```
102
102
103
-
For more configuration options and detailed usage, please refer to the [Rsbuild - server.cors](https://rsbuild.rs/config/server/cors) documentation.
103
+
For more configuration options and detailed usage, please refer to the [Rsbuild - server.cors](https://v2.rsbuild.dev/config/server/cors) documentation.
104
104
105
105
### proxy
106
106
@@ -124,5 +124,5 @@ export default {
124
124
```
125
125
126
126
:::tip
127
-
This option is the same as Rsbuild's `server.proxy` option, see [Rsbuild - server.proxy](https://v2.rsbuild.rs/config/server/proxy) for detailed usage.
127
+
This option is the same as Rsbuild's `server.proxy` option, see [Rsbuild - server.proxy](https://v2.rsbuild.dev/config/server/proxy) for detailed usage.
Copy file name to clipboardExpand all lines: packages/document/docs/en/configure/app/resolve/alias-strategy.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ title: aliasStrategy
7
7
-**Type:**`'prefer-tsconfig' | 'prefer-alias'`
8
8
-**Default:**`'prefer-tsconfig'`
9
9
10
-
Set the strategy for path alias resolution, to control the priority relationship between the paths option in `tsconfig.json` and the [resolve.alias](https://rsbuild.rs/config/resolve/alias) option of Rsbuild.
10
+
Set the strategy for path alias resolution, to control the priority relationship between the paths option in `tsconfig.json` and the [resolve.alias](https://v2.rsbuild.dev/config/resolve/alias) option of Rsbuild.
Copy file name to clipboardExpand all lines: packages/document/docs/en/configure/app/resolve/dedupe.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ title: dedupe
6
6
7
7
-**Type:**`string[]`
8
8
9
-
Force Rsbuild to resolve the specified packages from project root, which is useful for deduplicating packages and reducing the bundle size. same as the [resolve.dedupe](https://rsbuild.rs/config/resolve/dedupe) config of Rsbuild.
9
+
Force Rsbuild to resolve the specified packages from project root, which is useful for deduplicating packages and reducing the bundle size. same as the [resolve.dedupe](https://v2.rsbuild.dev/config/resolve/dedupe) config of Rsbuild.
Copy file name to clipboardExpand all lines: packages/document/docs/en/configure/app/security/sri.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ type SriOptions = {
18
18
Adding an `integrity` attribute to `<script>` and `<link rel="stylesheet">` tags introduced by HTML allows the browser to verify the integrity of the introduced resource, thus preventing tampering with the downloaded resource.
19
19
20
20
:::info
21
-
For a specific introduction to SRI, you can refer to [Rsbuild security.sri](https://rsbuild.rs/zh/config/security/sri).
21
+
For a specific introduction to SRI, you can refer to [Rsbuild security.sri](https://v2.rsbuild.dev/zh/config/security/sri).
22
22
23
23
This configuration type is not completely consistent with Rsbuild and will be automatically converted during the build process.
Copy file name to clipboardExpand all lines: packages/document/docs/en/configure/app/source/decorators.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ const defaultDecorators = {
23
23
Used to configure the decorators syntax.
24
24
25
25
:::warning
26
-
The usage of this configuration item is exactly the same as that of Rsbuild, but the default value is different. For detailed information, please refer to [Rsbuild - source.decorators](https://rsbuild.rs/config/source/decorators).
26
+
The usage of this configuration item is exactly the same as that of Rsbuild, but the default value is different. For detailed information, please refer to [Rsbuild - source.decorators](https://v2.rsbuild.dev/config/source/decorators).
27
27
:::
28
28
29
29
We found that most projects still use the `legacy` version of the decorator syntax, so the default value is `legacy`.
0 commit comments