remove comments

This commit is contained in:
Loewy 2024-02-12 21:59:01 -08:00
parent aca8caa5c3
commit 31c212807b

View File

@ -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);