15 lines
509 B
JavaScript
15 lines
509 B
JavaScript
// This file was generated by "npx expo customize metro.config.js"
|
|
// to fix an error in make-plural (from i18n) when building for android
|
|
|
|
|
|
// 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);
|
|
|
|
// I added this line, the rest was already there, after the command run
|
|
config.watcher.additionalExts.push('mjs', 'cjs');
|
|
|
|
module.exports = config;
|