Skip to content

Instantly share code, notes, and snippets.

@renanmav
Created May 19, 2020 20:15
Show Gist options
  • Save renanmav/a722412bf8ef9cf94ca80c257cf0bae0 to your computer and use it in GitHub Desktop.
Save renanmav/a722412bf8ef9cf94ca80c257cf0bae0 to your computer and use it in GitHub Desktop.
import path from 'path';
import type { ExpoConfig, ConfigContext } from '@expo/config';
export default ({ config }: ConfigContext): ExpoConfig => ({
expo: {
...config,
name: 'sejamelhoramigo',
slug: 'sejamelhoramigo',
platforms: ['ios', 'android', 'web'],
version: '0.0.1',
orientation: 'portrait',
icon: './assets/icon.png',
splash: {
image: './assets/splash.png',
resizeMode: 'contain',
backgroundColor: '#ffffff',
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ['**/*'],
ios: {
supportsTablet: true,
},
web: {
build: {
babel: {
include: [
path.resolve(__dirname),
path.resolve(__dirname, '..', '..', 'node_modules', '@sejamelhoramigo', 'modules'),
],
},
},
},
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment