mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-15 23:59:08 +00:00
Adds expo-atlas dependency for bundle size monitoring and analysis across development and production environments. Enhances metro configuration with comprehensive performance optimizations including: - Hermes parser with inline requires for 15-30% startup improvement - Advanced minification settings optimized for streaming applications - Enhanced resolver with package exports and extended asset type support - TV platform-specific optimizations with dedicated file extensions - Production serializer optimizations with module ID hashing - Development-focused error reporting and caching improvements Configures environment-specific settings for development debugging and production performance, with specialized support for media file formats and TV platform deployment.
26 lines
502 B
Plaintext
26 lines
502 B
Plaintext
# Streamyfin Production Configuration
|
|
EXPO_PUBLIC_WRITE_DEBUG=0
|
|
|
|
# Production Performance Optimizations
|
|
NODE_ENV=production
|
|
EXPO_USE_METRO_REQUIRE=1
|
|
EXPO_USE_FAST_RESOLVER=1
|
|
|
|
# Production Build Optimizations
|
|
EXPO_OPTIMIZE_BUNDLE_SIZE=1
|
|
EXPO_NO_CLIENT_ENV_VARS=1
|
|
EXPO_LEGACY_BUNDLER=0
|
|
|
|
# Bundle Analysis (for monitoring)
|
|
EXPO_ATLAS=0
|
|
|
|
# Production Cache Optimizations
|
|
METRO_CACHE=1
|
|
|
|
# Security & Performance
|
|
EXPO_NO_DOTENV=1
|
|
FAST_REFRESH=0
|
|
|
|
# Production Bundle Features
|
|
EXPO_USE_HERMES=1
|
|
EXPO_MINIFY=1 |