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