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