Commit Graph

2 Commits

Author SHA1 Message Date
Samuel Newman 791d903d16 Fix CI: add generate-webpack-stats-file alias and fix stats path
- Add `generate-webpack-stats-file` as alias to `analyze` for backwards
  compatibility with CI workflow
- Change stats.json output path to '../stats.json' to match old webpack
  config behavior (generates in root, not in web-build/)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 16:30:07 +02:00
Samuel Newman b5cf7ce65a Configure rsbuild for web build and fix compatibility issues
- Add rsbuild.config.ts with proper configuration for:
  - React, Babel, and Expo polyfills
  - Environment variable definitions for expo-constants and @atproto
  - Module aliases for react-native-web and ESM packages
  - Disabled vendor chunk splitting to fix CommonJS scope issues
  - Built-in bundle analyzer instead of webpack-bundle-analyzer
  - Sentry integration support
- Patch react-native-uitextview with Text.web.tsx fallback
- Exclude @atproto, tlds, and @braintree from Babel processing

This completes the migration from @expo/webpack-config to Rsbuild.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-10 16:23:38 +02:00