Company
Date Published
Author
Max Lynch
Word count
274
Language
English
Hacker News points
None

Summary

Ionic is focused on reducing the final bundle size of its apps, with a particular emphasis on optimizing Ionic Native, which previously included a substantial amount of unused plugin code. To address this, Ionic Native 3.x has transitioned each plugin into its own npm module, allowing developers to install only the specific plugins they need, such as the Camera plugin, which can be accessed via the @ionic-native/camera package. This change has resulted in tests showing a 15% reduction in bundle size, improving app loading times. Users are encouraged to try the new alpha version by modifying their package.json dependencies and adjusting their import statements accordingly. Feedback is welcomed through comments or issues filed on the repository, as Ionic continues to implement further optimizations for filesize and boot time.