Skip to content

Instantly share code, notes, and snippets.

@WrathChaos
Created October 3, 2019 07:06
Show Gist options
  • Save WrathChaos/fc7b2a98b00294c7398c203bd5d6deaf to your computer and use it in GitHub Desktop.
Save WrathChaos/fc7b2a98b00294c7398c203bd5d6deaf to your computer and use it in GitHub Desktop.
React Native 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,
      },
    }),
  },
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment