repack
repack copied to clipboard
feat(assetLoader): support remote assets
Hi! I'm working for a project that is near to use this modification of the asset loader and wanted to contribute this back (so we avoid deviating from repack and using a custom loader). Keep in mind that while this work for us, some parts could be improved, so I wanted to open this early to get some feedback.
Summary
Support the ability for a react-native app to load some assets (like png, jpgs) from a remote location (like a CDN) and reduce the bundle size of the app.
Test plan
- [ ] Will update TesterApp to have a example of this feature
- [ ] Add example of the Image customSourceResolver & webpack config
⚠️ No Changeset found
Latest commit: 5987f0422a40a35f544f87944fec4f1adfb3b58b
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Hey @crash7! I will close this draft as I merged a different implementation of remote assets handling #331. Once again, thank you for your contribution, and please check if you can use this new solution in your project. If you find issues, please let us know, we'd like to address them as soon as possible to wrap up all of the work related to the remote assets.
I'm going to release 3.2.0-RC-1 later today.
Cheers!