Ankilan/metro.config.js
2020-03-05 15:33:25 -05:00

22 lines
388 B
JavaScript

/**
* Metro configuration for React Native
* https://github.com/facebook/react-native
*
* @format
*/
module.exports = {
getSourceExts: () => ['jsx', 'js'],
resolver: {
sourceExts: ['jsx', 'js'],
},
transformer: {
getTransformOptions: async () => ({
transform: {
experimentalImportSupport: false,
inlineRequires: false,
},
}),
},
};