-
-
Notifications
You must be signed in to change notification settings - Fork 170
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
feat(fetch-hook): extending fetch hook usage #2046
base: main
Are you sure you want to change the base?
Conversation
…s and fetching chunks on node
This is a rather rough bare minimum proposal, that resolved the specifc issues I was having. Namely needing to switch out fetch for Axios, or just to extend fetch, when doing any ssr network calls. |
can you not use createScript hook? |
@zhoushaw any comments here? |
@ScriptedAlchemy I tried using createScriptHook initially, but it doesn't actually seem to be used on the node side of things. |
If create script hook isnt working on node side then we should just need to ammend the source code so it does call the hook, dont think we need to add another api for this if we can make the existing one work node side |
Stale pull request message |
Description
Update to use the fetch hook, if specified, when fetching remoteEntries and chunks on node, in order to achieve similar effect to what was possible with webpackChunkLoad before.
Types of changes
Checklist