Update Expo

This commit is contained in:
Adolfo Reyna
2023-08-24 23:11:34 -04:00
parent bdbf2f63c1
commit 30ba1af902
5 changed files with 3956 additions and 2690 deletions

20
metro.config.js Normal file
View File

@@ -0,0 +1,20 @@
/* eslint-disable no-undef */
// 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);
module.exports = (async () => {
const {
resolver: { sourceExts },
} = config;
return {
...config,
resolver: {
...config.resolver,
sourceExts: [...sourceExts, 'mjs'],
},
};
})();