mobile_local_restore/metro.config.js

22 lines
544 B
JavaScript
Raw Normal View History

const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config');
/**
* Metro configuration
* https://facebook.github.io/metro/docs/configuration
*
* @type {import('metro-config').MetroConfig}
*/
2024-06-07 12:27:15 +00:00
const config = {
transformer: {
assetPlugins: ['expo-asset/tools/hashAssetFiles'],
getTransformOptions: async () => ({
transform: {
experimentalImportSupport: false,
inlineRequires: false
}
})
}
}
module.exports = mergeConfig(getDefaultConfig(__dirname), config);