From 31c212807b5bd6714a4871a5c58705ff1095d9c6 Mon Sep 17 00:00:00 2001 From: Loewy Date: Mon, 12 Feb 2024 21:59:01 -0800 Subject: [PATCH] remove comments --- metro.config.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/metro.config.js b/metro.config.js index a482370..13cc4fe 100644 --- a/metro.config.js +++ b/metro.config.js @@ -38,8 +38,8 @@ const originalConfig = { }, { "react-native-vision-camera": localPackagePath }, ), - assetExts: undefined, // set later - sourceExts: undefined, // set later + assetExts: undefined, + sourceExts: undefined, }, transformer: { @@ -53,10 +53,8 @@ const originalConfig = { }, }; -// Get the default Expo Metro configuration const defaultConfig = getDefaultConfig(__dirname); -// Modify the assetExts and sourceExts based on the defaultConfig originalConfig.resolver.assetExts = defaultConfig.resolver.assetExts.filter( (ext) => ext !== "svg", ); @@ -65,5 +63,4 @@ originalConfig.resolver.sourceExts = [ "svg", ]; -// Merge the originalConfig with the defaultConfig to ensure all settings are correctly integrated module.exports = mergeConfig(defaultConfig, originalConfig);