21 lines
407 B
JavaScript
21 lines
407 B
JavaScript
|
/**
|
||
|
* Metro configuration for React Native
|
||
|
* https://github.com/facebook/react-native
|
||
|
*
|
||
|
* @format
|
||
|
*/
|
||
|
|
||
|
module.exports = {
|
||
|
transformer: {
|
||
|
getTransformOptions: async () => ({
|
||
|
transform: {
|
||
|
experimentalImportSupport: false,
|
||
|
inlineRequires: false,
|
||
|
babelTransformerPath: require.resolve(
|
||
|
'react-native-typescript-transformer',
|
||
|
),
|
||
|
},
|
||
|
}),
|
||
|
},
|
||
|
};
|