Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Enable inline requires (#1756)

authored by

dan and committed by
GitHub
46f32659 a1a61ef2

+16 -1
+8 -1
babel.config.js
··· 1 1 module.exports = function (api) { 2 2 api.cache(true) 3 3 return { 4 - presets: ['babel-preset-expo'], 4 + presets: [ 5 + [ 6 + 'babel-preset-expo', 7 + { 8 + lazyImports: true, 9 + }, 10 + ], 11 + ], 5 12 plugins: [ 6 13 [ 7 14 'module:react-native-dotenv',
+8
metro.config.js
··· 1 1 // Learn more https://docs.expo.io/guides/customizing-metro 2 2 const {getDefaultConfig} = require('expo/metro-config') 3 3 const cfg = getDefaultConfig(__dirname) 4 + 4 5 cfg.resolver.sourceExts = process.env.RN_SRC_EXT 5 6 ? process.env.RN_SRC_EXT.split(',').concat(cfg.resolver.sourceExts) 6 7 : cfg.resolver.sourceExts 8 + 9 + cfg.transformer.getTransformOptions = async () => ({ 10 + transform: { 11 + inlineRequires: true, 12 + }, 13 + }) 14 + 7 15 module.exports = cfg