Skip to content

Commit 990ca0d

Browse files
Fernando Gorodscyfacebook-github-bot
authored andcommitted
Add support for .ktx images (#53991)
Summary: Pull Request resolved: #53991 As part of D83474751 to migrate Store from arvr to xplat we discovered that ktx images are not setup correctly in xplat. Adding support for it in flow and jest Changelog: [Internal] Reviewed By: javache Differential Revision: D83562581 fbshipit-source-id: 8c7205417dc24ca2d48a2e2fa1ca7dea40504c18
1 parent e02e7b1 commit 990ca0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.flowconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ munge_underscores=true
6969
module.name_mapper='^react-native$' -> '<PROJECT_ROOT>/packages/react-native/index.js'
7070
module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/packages/react-native/\1'
7171
module.name_mapper='^@react-native/dev-middleware$' -> '<PROJECT_ROOT>/packages/dev-middleware'
72-
module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\|xml\)$' -> '<PROJECT_ROOT>/packages/react-native/Libraries/Image/RelativeImageStub'
72+
module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\|xml\|ktx\)$' -> '<PROJECT_ROOT>/packages/react-native/Libraries/Image/RelativeImageStub'
7373

7474
module.system.haste.module_ref_prefix=m#
7575

0 commit comments

Comments
 (0)