remove comments
This commit is contained in:
parent
aca8caa5c3
commit
31c212807b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user