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

Inline Chunk injection #965

Open
udit-nykaa opened this issue Jun 8, 2023 · 2 comments
Open

Inline Chunk injection #965

udit-nykaa opened this issue Jun 8, 2023 · 2 comments
Labels

Comments

@udit-nykaa
Copy link

Hi guys, I am trying to inline inject one of the chunk files instead of making a network call to fetch it whenever my application runs.
I have separated my chunks as needed but am unable to inline inject a chunk file.

@theKashey
Copy link
Collaborator

  • inlining known chunk is not a problem - just read it and inline content.
    • loadable-stats may help you here
  • if you know it - you can also remove it from preload generated by loadable
  • the rest is webpack's problem

So which particular step is causing friction?

@stale
Copy link

stale bot commented Aug 13, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants