Zack Jackson
Zack Jackson
I found some devs solving this by modifying TS loader. Specifically for module Federation
yeah IDE can solve it, assuming it supports that. Meeting with Microsoft in august - seeking changes to TS to support MF, in doing so IDEs will have to follow...
This remains a solution > What I have done is use node to generate a .d.ts file, that are loaded by our global.d.ts file. > > So each Remote outputs...
As long as node resolves properly to the location you write to, it's a sound approach. I think haha. What one could do is create a GitHub crawler that pulls...
Yeah basically. Imagine you listed an array of objects that contain info about your remotes. Then we could search git repo via api or just the TS defs related to...
This is easier to instrument with federation dashboard because it know what hosts uses what remotes and where they are. In the future I could tack something into dashboard so...
Will check this out and see what's needed to make this work for both poly and monorepo
I'm not a TS user so I'm no help here.
We have released a Federated Types Plugin beta. Theres some gaps in the type def bundling, we are aware of it and working on improvements. https://app.privjs.com/buy/packageDetail?pkg=@module-federation/typescript
> > We have released a Federated Types Plugin beta. > > > > > > Theres some gaps in the type def bundling, we are aware of it and...