/**
 * Metro configuration for React Native
 * https://github.com/facebook/react-native
 *
 * @format
 */

const path = require("path");

const watchFolders = [
  //Relative path to packages directory
  path.resolve(__dirname + "/.."),
  path.resolve(__dirname + "/../../node_modules"),
];

module.exports = {
  resetCache: true,
  transformer: {
    getTransformOptions: async () => ({
      transform: {
        experimentalImportSupport: false,
        inlineRequires: false,
      },
    }),
  },
  watchFolders,
};
