Skip to content
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

Rewrite server remote global config registration #18

Open
ScriptedAlchemy opened this issue Mar 19, 2022 · 0 comments
Open

Rewrite server remote global config registration #18

ScriptedAlchemy opened this issue Mar 19, 2022 · 0 comments

Comments

@ScriptedAlchemy
Copy link
Member

workaround here: #17

global of remote config from process.env and from other remotes needs to be merged together all the time, then merge runtime remotes that are loaded incase there's something missing. This is because webpakc boots remotes early on before I have time to register the global sometimes, it also seems like my process.env.REMOTE_CONFIG is not applied to the main app with define plugins on hot === true (in streaming plugin)

Remotes needs to register more reliably since loaded remotes depend on their parent config to tell them who and where they are

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant