Skip to content

Commit

Permalink
fix(android): Incorrect mapping of svg files
Browse files Browse the repository at this point in the history
  • Loading branch information
msand authored Mar 9, 2020
1 parent 2adf0fe commit 1b445f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/metro/src/Bundler/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function generateRemoteAssetCodeFileAst(
// If it's not one of these, we won't treat it as an image.
function isAssetTypeAnImage(type: string): boolean {
return (
['png', 'jpg', 'jpeg', 'bmp', 'gif', 'webp', 'psd', 'svg', 'tiff'].indexOf(
['png', 'jpg', 'jpeg', 'bmp', 'gif', 'webp', 'psd', 'tiff'].indexOf(
type,
) !== -1
);
Expand Down

0 comments on commit 1b445f9

Please sign in to comment.