2021-08-31 14:18:30 +08:00
|
|
|
/**
|
|
|
|
* Metro configuration for React Native
|
|
|
|
* https://github.com/facebook/react-native
|
|
|
|
*
|
|
|
|
* @format
|
|
|
|
*/
|
2020-04-13 19:06:07 +08:00
|
|
|
|
|
|
|
module.exports = {
|
2021-08-31 14:18:30 +08:00
|
|
|
transformer: {
|
|
|
|
getTransformOptions: async () => ({
|
|
|
|
transform: {
|
|
|
|
experimentalImportSupport: false,
|
|
|
|
inlineRequires: true,
|
|
|
|
},
|
|
|
|
}),
|
2020-04-13 19:06:07 +08:00
|
|
|
},
|
2021-08-31 14:18:30 +08:00
|
|
|
};
|