Disabling dts generation in module federation dev mode? #27555
semanticist21
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
With react moudle federation in Nx,
I found that HMR is slowed by the process of generating dts each time hmr occurs.
As nx is monorepo project and types are handled by Nx, generating @mf-types.zip for each time, which is default behaviour in Webpack, seems unneccesary.
I could boost the process by using the options as below.
How about adopting this as a default config in nx monorepo?
Beta Was this translation helpful? Give feedback.
All reactions