diff --git a/packages/metro-config/src/__tests__/__snapshots__/loadConfig-test.js.snap b/packages/metro-config/src/__tests__/__snapshots__/loadConfig-test.js.snap index 0d182cdcbe..0d8192fa34 100644 --- a/packages/metro-config/src/__tests__/__snapshots__/loadConfig-test.js.snap +++ b/packages/metro-config/src/__tests__/__snapshots__/loadConfig-test.js.snap @@ -18,6 +18,7 @@ Object { "psd", "svg", "webp", + "xml", "m4v", "mov", "mp4", @@ -201,6 +202,7 @@ Object { "psd", "svg", "webp", + "xml", "m4v", "mov", "mp4", @@ -384,6 +386,7 @@ Object { "psd", "svg", "webp", + "xml", "m4v", "mov", "mp4", @@ -567,6 +570,7 @@ Object { "psd", "svg", "webp", + "xml", "m4v", "mov", "mp4", diff --git a/packages/metro-config/src/defaults/defaults.js b/packages/metro-config/src/defaults/defaults.js index 2eb200d71c..7332a353a9 100644 --- a/packages/metro-config/src/defaults/defaults.js +++ b/packages/metro-config/src/defaults/defaults.js @@ -25,6 +25,7 @@ exports.assetExts = [ 'psd', 'svg', 'webp', + 'xml', // Video formats 'm4v', 'mov',