react-native-storage icon indicating copy to clipboard operation
react-native-storage copied to clipboard

Bundle size doubled in 1.0.1?

Open Dilan1020 opened this issue 4 years ago • 1 comments

Hello,

According to bundlephobia, the package almost doubled in size from 1.0.0 to 1.0.1. In the changelog it just looks like two bug fixes.

Just curious if you know what the reason is for this. Thanks.

Dilan1020 avatar Dec 14 '20 16:12 Dilan1020

For best compatibility we have to inline the babel helpers which increased the bundle size, but it won't affect react-native bundle. https://github.com/sunnylqm/react-native-storage/commit/4020aebcbd8392d46ad2a04f0b275816cc9e68dc#diff-09c56b2bf95de2a608a36afef3b6893146a959d6739be0a154dc9c9f02d80f24L27

sunnylqm avatar Dec 15 '20 01:12 sunnylqm