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/guide/basic/type-prompt.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,10 @@ After modifying the producer code, the consumer will automatically pull the prod
40
40
41
41
### Federation Runtime API type prompt
42
42
43
+
:::info
44
+
If the builder is `webpack`, you also need to add `**/@mf-types/**` to [watchOptions.ignored](https://webpack.js.org/configuration/watch/#watchoptionsignored) to avoid Circular compilation issues caused by type updates
45
+
:::
46
+
43
47
It needs to add `./@mf-types/*` in the `include` field to enjoy `Federation Runtime``loadRemote` type hints and type hot reloading
0 commit comments