BlueWallet/metro.config.js

26 lines
608 B
JavaScript
Raw Normal View History

2021-06-24 12:46:08 -04:00
/**
* Metro configuration for React Native
* https://github.com/facebook/react-native
*
* @format
*/
2024-03-04 21:23:00 -04:00
const { getDefaultConfig } = require('@react-native/metro-config');
// Get the default Metro configuration.
const defaultConfig = getDefaultConfig(__dirname);
// If you have transformer settings to modify, you can do that here:
defaultConfig.transformer = {
...defaultConfig.transformer,
getTransformOptions: async () => ({
transform: {
experimentalImportSupport: false,
inlineRequires: true,
},
}),
2021-06-24 12:46:08 -04:00
};
2024-03-04 21:23:00 -04:00
// Export the updated configuration.
module.exports = defaultConfig;