Ankilan/metro.config.js

22 lines
388 B
JavaScript
Raw Normal View History

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