Update metro.config.js

This commit is contained in:
Marcos Rodriguez Velez 2024-06-15 21:26:13 -04:00
parent 6fb98b60f4
commit 543acb155e
No known key found for this signature in database
GPG Key ID: 6030B2F48CCE86D7

View File

@ -1,17 +1,11 @@
/** const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');
* Metro configuration for React Native
* https://github.com/facebook/react-native
*
* @format
*/
module.exports = { /**
transformer: { * Metro configuration
getTransformOptions: async () => ({ * https://reactnative.dev/docs/metro
transform: { *
experimentalImportSupport: false, * @type {import('metro-config').MetroConfig}
inlineRequires: true, */
}, const config = {};
}),
}, module.exports = mergeConfig(getDefaultConfig(__dirname), config);
};