Zack Jackson

Results 1008 comments of Zack Jackson

@SyMind, would you tag me in the PR so I can read and understand it end-to-end? Then, next time, I'll try to create bindings on my own. 🙃

Yeah that's fine. My current use cases is with rust projects so I am not blocked by js. But user will want it for sure

@Neerajpathak07 you can look at how i implemented them in my repo. https://github.com/module-federation/core/tree/main/packages/enhanced/src/lib/startup See where these plugins are applied in my codebase

There was already a startup dependencies plugin in webpack. Ideally we just add some logic like mine into that. I think. You can always pr a new plugin and see...

This depends on a PR if have open i think. The hoist container reference stuff. But that is to fix a problem with eager modules. The entry either way will...

Yes. But hoist refs only fixes single runtime chunk issues. Async with main.js etc won't need that

The idea is to move the async boundary out of user code and just change how an entrypoint requires its initial module. So it will only trigger after we check...

These changes make an asynchronous startup. So main.js exports a promise that resolves the inner require. Entry acts the same as if it were import(). I changed from passive mode...

If you have any questions you can dm me on Twitter. Also my core repo under module federation has this fully implemented if you want to see the difference etc

V2 provides a webpack,rspack,vite,rollup plugin. Don't need to move away from webpack. Just stop using webpacks built in plugin. V2 is just a npm package. If we do sync the...