-
-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the ability to not regenerate types during hmr #3110
Comments
This is still a valid issue, Currently, the options in Correct me if I'm wrong, but I would expect that setting Are there any plans to make DTS faster with things like web-infra-dev/rspack#8097 on the horizon? |
have you tried this? https://www.typescriptlang.org/tsconfig/#isolatedDeclarations |
@zmzlois haven't tried |
What if you set dts: false? |
|
Ahh you just want initial type gen. Then it to stop watching subsequent updates? |
@jbroma try this: Im wondering if i can change the plugin so that initial build uses |
Clear and concise description of the problem
Generate module federation types makes rsbuild hmr slow(from 0.4s to 4s). When I set disableHotTypesReload to true, it still regenerate types. And I find disableHotTypesReload option can't control this behavior. So it would be better to have an option to not generate types during hmr to improve hmr speed.
Suggested solution
Maybe stop regenerate types when provider set disableHotTypesReload to true or just add a new opition.
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: