Skip to content

Tree shaking support #61

Open
Open
@mrkpatchaa

Description

@mrkpatchaa

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions