question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

resolveRemoteChunk url is not working on my side

See original GitHub issue

ChunkManager.configure({ resolveRemoteChunk: async (chunkId) => { return { url: http://localhost:5000/${chunkId}, }; }, });

@zamotany

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
zamotanycommented, Sep 21, 2021

I’m going to close this issue for now. If there are any more problems, feel free to reopen it.

1reaction
zamotanycommented, Sep 21, 2021

Ok, in development mode all chunks are resolved and downloaded from the Development server. So resolveRemoteChunk is not called by design. By default the resolveRemoteChunk is only used in production mode.

Today I released a new version that allows to force the resolution to happen through resolveRemoteChunk.

Please read the updated documentation:

In order to use Code Splitting from Webpack & Re.Pack in React Native, Re.Pack provides a native module. It should be automatically linked, but it’s good to do pod install for iOS to make sure it’s picked up.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix webpack resolve-url-loader not working?
Received type object I read the doc for resolve-url-loader but I don't understand it. 2. Putting min-output.css in the root of the output...
Read more >
The repack from callstack - GithubHelp
a webpack-based toolkit to build your react native application with full support of ... resolveRemoteChunk url is not working on my side.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found