https://github.com/rebeccahughes/react-native-device-info
Raw File
Tip revision: 7b44570aaf0b3ed61d7fdae2ec618846f8ad6bc4 authored by Mike Hardy on 24 July 2019, 01:58:59 UTC
2.3.0
Tip revision: 7b44570
metro.config.js
/**
 * Metro configuration for React Native
 * https://github.com/facebook/react-native
 *
 * @format
 */

module.exports = {
  transformer: {
    getTransformOptions: async () => ({
      transform: {
        experimentalImportSupport: false,
        inlineRequires: false,
      },
    }),
  },
};
back to top