-
Notifications
You must be signed in to change notification settings - Fork 24
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
Hotreloading Type Declerations #112
Comments
Hi @econneely, can you open a PR with a failing scenario in this example pls? With your help we will solve the problem sooner. Thanks |
@gioboa that example fails on the host example with this error |
I ran pnpm install then pnpm run multi-example |
I cloned the repo from scratch and you need to run |
Update the readme with that, it fixed it will get the pr up asap |
Fixed, thanks |
Hi any timeframe on this want to know for planning some work with a Vite project thanks |
I'm on it, I need few days to figure out a solution. |
Thanks much appreciated |
The idea is to use the @module-federation/dts-plugin because it's always up to date. I'm trying to feed it with a generic compiler. Let's see |
Does this support the hotreloading of types mentioned here and if so is there any examples of how to implement it https://module-federation.io/guide/basic/type-prompt.html
Does this have something to do with it not working https://github.com/module-federation/vite/blob/main/src/plugins/pluginMFManifest.ts#L376-L377
react refresh:6 [ dynamic-remote-type-hints-plugin ] err: [object Event]
this is also one of the errors on the host side and the remote is using webpack and its manifest has a reference to the .d.ts and zipThe text was updated successfully, but these errors were encountered: