Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(metro-config): add expo-image file types #20893

Merged
merged 2 commits into from
Jan 20, 2023

Conversation

EvanBacon
Copy link
Contributor

Why

With expo-image, we now support heic and avif out of the box. This PR adds those file types to the Metro asset watcher by default. The main concern for adding a new default asset would be making it harder to add a custom transformer, but I can't imagine developers are doing this for non-utf-8 files.

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Jan 20, 2023
Copy link
Member

@gabrieldonadel gabrieldonadel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Jan 20, 2023
@EvanBacon EvanBacon merged commit cfb115e into main Jan 20, 2023
@EvanBacon EvanBacon deleted the @evanbacon/metro-config/add-expo-image-file-types branch January 20, 2023 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: passed checks ExpoBot has nothing to complain about
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants