Zack Jackson
Zack Jackson
@kuka we would really appreciate a copy paste example of this for the readme along with some instructions. Lambdas are the future for many and it would have me a...
createScript hook is probbably what you are after: https://module-federation.io/plugin/dev/index.html#createscript
cant you throw the script after timeout?
@patricklafrance https://github.com/module-federation/core/pull/2433/files hows that? This would change the return types of createScript return htmlElement | {script?: htmlElement, timeout?:number} return {script: myScript} return {timeout: 1000} return {script,timeout} return scriptElement
@EliLichtblau im trying to move the node implementation to leverage as much of the federation runtime and sdk. I suggest you implement esm support stuff on the sdk or runtime...
Doing it like this via SDK / runtime - we can slide ImportMaps support into the library and provide tier 1 federation capabilities to anyone, regardless of bundler tech. I...
Yeah but worker threads is not a viable solution IMO. It works but in reality i have only see a handful of users do this. Most are on aws lambda....
Due to bug in webpack and federation when single runtime chunk is used. Shared modules are only hoisted up to the entrypoint level, not the runtime level - causing duplication...
I should be releaseing support for splitChunks api in next which may improve this issue for you
@duyphuong2101 you can try this release, i cut it with the new split chunks mods - you can see if it works better or not. 0.0.0-next-20240424224724