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: apps/website-new/docs/en/ai/index.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ sidebar: false
6
6
# AI Quick Start
7
7
8
8
:::tip Prefer to read the docs yourself?
9
-
If you want to go through Module Federation concepts, configuration, and integration in order, head to the [Getting Started guide](../guide/start/index).
9
+
If you want to go through Module Federation concepts, configuration, and integration in order, head to the [Getting Started guide](/guide/start/index.html).
10
10
:::
11
11
12
12
## A Better Way To Start
@@ -48,12 +48,12 @@ The `mf` skill does more than answer questions. It can also help your agent:
48
48
- inspect remote module information
49
49
- read observability reports and debug MF loading failures
Copy file name to clipboardExpand all lines: apps/website-new/docs/en/ai/skill.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Module Federation now exposes one unified **`mf` skill**.
9
9
10
10
You do not need to pick from a long list of separate skills, and you do not need to read the docs first and then translate them back to your agent. The simpler approach is to install this one skill and let the agent decide whether it should read docs, inspect config, or troubleshoot a problem.
11
11
12
-
If you have not read it yet, start with [AI Quick Start](./index).
12
+
If you have not read it yet, start with [AI Quick Start](/ai/index.html).
13
13
14
14
## Installation
15
15
@@ -106,7 +106,7 @@ At that point, the goal is not for you to manually investigate first. The goal i
106
106
107
107
### 4. Let the agent read MF observability
108
108
109
-
For full loading observability, install the [Observability Plugin](../plugin/plugins/observability-plugin)
109
+
For full loading observability, install the [Observability Plugin](/plugin/plugins/observability-plugin.html)
110
110
in your app. When a browser console error prints a `traceId` and `read:`
Copy file name to clipboardExpand all lines: apps/website-new/docs/en/configure/dts.mdx
+31-31Lines changed: 31 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ interface PluginDtsOptions {
18
18
}
19
19
```
20
20
21
-
###generateTypes
21
+
## generateTypes
22
22
23
23
- Type: `boolean | DtsRemoteOptions`
24
24
- Required: No
@@ -67,52 +67,52 @@ When configuring `generateTypes` to `true`, the following configuration will be
67
67
}
68
68
```
69
69
70
-
####extractRemoteTypes
70
+
### extractRemoteTypes
71
71
72
72
- Type: `boolean`
73
73
- Required: No
74
74
- Default value: `undefined`
75
75
- Usage scenario: When the content of the producer `exposes` has its own `remotes` module that re-exports itself, then `extractRemoteTypes: true` can ensure that the consumer can normally obtain the module type of the producer `exposes`
76
-
- Example: [Nested type re-export](../guide/basic/type-prompt#Nested typere-export)
76
+
- Example: [Nested type re-export](/guide/basic/type-prompt.html#nested-type-re-export)
77
77
78
78
Whether to extract the type of `remotes`.
79
79
80
-
####extractThirdParty
80
+
### extractThirdParty
81
81
82
82
- Type: `boolean`
83
83
- Required: No
84
84
- Default value: `undefined`
85
85
- Usage scenario: When the content of the producer `exposes` contains a module containing `antd`, and the consumer does not have `antd` installed, then `extractThirdParty: true` can ensure that the consumer can normally obtain the module of the producer `exposes` type
86
-
- Example: [Third-party package type extraction](../guide/basic/type-prompt#Third-partypackagetypeextraction)
86
+
- Example: [Third-party package type extraction](/guide/basic/type-prompt.html#third-party-package-type-extraction)
87
87
88
88
Whether to extract third-party package types.
89
89
90
-
####generateAPITypes
90
+
### generateAPITypes
91
91
92
92
- Type: `boolean`
93
93
- Required: No
94
94
- Default value: `undefined`
95
-
- Example: [Federation Runtime API type prompt](../guide/basic/type-prompt#federation-runtime-api-type-prompt)
95
+
- Example: [Federation Runtime API type prompt](/guide/basic/type-prompt.html#federation-runtime-api-type-prompt)
96
96
97
97
Whether to generate the `loadRemote` type in `Federation Runtime`
98
98
99
-
####compileInChildProcess
99
+
### compileInChildProcess
100
100
101
101
- Type: `boolean`
102
102
- Required: No
103
103
- Default value: `undefined`
104
104
105
105
Whether generate types in child process
106
106
107
-
####abortOnError
107
+
### abortOnError
108
108
109
109
- Type: `boolean`
110
110
- Required: No
111
111
- Default value: `false`
112
112
113
113
Whether to throw an error when a problem is encountered during type generation
@@ -174,39 +174,39 @@ With the config above, the generated files are emitted to
174
174
`dist/react/production/@mf-types.zip` and
175
175
`dist/react/production/@mf-types.d.ts`.
176
176
177
-
####typesFolder
177
+
### typesFolder
178
178
179
179
- Type: `string`
180
180
- Required: No
181
181
- Default value: `'@mf-types'`
182
182
183
183
The name of the generated compression type file. For example, if typesFolder is set to `custom`, then the name of the generated compression type file is: `custom.zip`
Configure the IP version family that will be used for network operations.
364
364
365
-
####typesOnBuild
365
+
### typesOnBuild
366
366
- Type: `boolean`
367
367
- Required: No
368
368
- Default: `false`
369
369
370
370
By default, Module Federation does not load type files in production ( process.env.NODE_ENV === 'production' ). To enable type loading in production builds, set typesOnBuild to true .
0 commit comments