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

Allow webpack cache isReady only for initial chunks #568

Merged
merged 2 commits into from
Jun 7, 2020
Merged

Conversation

theKashey
Copy link
Collaborator

Summary

Only SSR-ed chunks could be tested for isReady via webpack cache. Others should go through requireAsync and track their process in a internal state variables.

@theKashey
Copy link
Collaborator Author

Tested, and it's working 👍
However, I've found an issue with loadable.lib and moment - it's actually not working in production mode. More like webpack/moment related problem like moment is moment node, and {default:moment} in the browser. Result - 💩

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

Successfully merging this pull request may close these issues.

1 participant