From c3c029326651cc29bc4778af5fe338641219b3b9 Mon Sep 17 00:00:00 2001 From: Harsh Vitra Date: Mon, 30 Mar 2020 03:33:33 +0530 Subject: [PATCH] Changed links for Metro docs --- docs/images.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/images.md b/docs/images.md index dfac27a1efa..89157747892 100644 --- a/docs/images.md +++ b/docs/images.md @@ -67,7 +67,7 @@ Note that image sources required this way include size (width, height) info for The `require` syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including `.mp3`, `.wav`, `.mp4`, `.mov`, `.html` and `.pdf`. See [packager defaults](https://github.com/facebook/metro/blob/master/packages/metro-config/src/defaults/defaults.js#L14-L44) for the full list. -You can add support for other types by adding an [`assetExts` resolver option](https://facebook.github.io/metro/docs/en/configuration#assetexts) in your [Metro configuration](https://facebook.github.io/metro/docs/en/configuration). +You can add support for other types by adding an [`assetExts` resolver option](https://facebook.github.io/metro/docs/configuration#resolver-options) in your [Metro configuration](https://facebook.github.io/metro/docs/configuration). A caveat is that videos must use absolute positioning instead of `flexGrow`, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.