Sherlock / metro.config.js
metro.config.js
Raw
// Learn more https://docs.expo.io/guides/customizing-metro
const { getDefaultConfig } = require('expo/metro-config');

/** @type {import('expo/metro-config').MetroConfig} */
const config = getDefaultConfig(__dirname, {
  // [Web-only]: Enables CSS support in Metro.
  isCSSEnabled: true,
});
config.resolver.sourceExts.push("mjs");
config.resolver.blockList = [/amplify\/#current-cloud-backend\/.*/];

module.exports =  config;