microsoft / react-native-code-push

React Native module for CodePush
http://appcenter.ms
Other
8.98k stars 1.47k forks source link

[Question] Ignore image from CodePush bundle #2367

Closed blueberry6401 closed 1 year ago

blueberry6401 commented 1 year ago

My bundle size is growing in size, and mostly because of images, which is rarely needed to update. So is there any way to ignore those images from bundle in? Thanks.

swizes commented 1 year ago

One tideous option is to add images on android and ios native side instead of including into the js bundle. I recommend to do it for large images and keep icons svgs etc in js bundle

blueberry6401 commented 1 year ago

One tideous option is to add images on android and ios native side instead of including into the js bundle. I recommend to do it for large images and keep icons svgs etc in js bundle

Thanks for your reply. How do I refer to images put in native? @swizes

microsoft-github-policy-service[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

microsoft-github-policy-service[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

microsoft-github-policy-service[bot] commented 1 year ago

This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.

microsoft-github-policy-service[bot] commented 1 year ago

This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.