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

Tree shaking support

Open mrkpatchaa opened this issue 1 year ago • 14 comments

Currently, when we import icons like this import { Horse, Heart, Cube } from 'phosphor-react-native'; it results in a big bundle size because of importing all the icons, even if the others are not used.

Expo adds experimental support for Removing unused imports and exports in SDK 52.

This issue is to track the progress around tree shaking support.

mrkpatchaa avatar Aug 17 '24 15:08 mrkpatchaa