Skip to content

Conversation

@maksymilianrojek
Copy link
Collaborator

@maksymilianrojek maksymilianrojek commented Dec 17, 2025

Warning

Do not merge - this PR is a collective PR for all web-related changes. It will be kept until the web implementation is complete.

Summary

  • updated typescript configuration
  • updated pre-commit hook to run typescript check with correct config in package and each example
  • updated package.json: added "sideEffects" field to support tree-shaking, updated "exports" to support native and web build

Test Plan

  • both example and example-web works correctly
  • react-native app with imported react-native-enriched works correctly (check freshly setup app)
  • web app with imported react-native-enriched works correctly (check freshly setup app)

Screenshots / Videos

Tested on fresh Expo app. The correct entry point is used for web and native: index.tsx for web, index.native.tsx for native. I checked the bundle using Expo Atlas to make sure the tree-shaking is working as expected - it does.
CleanShot 2025-12-18 at 10 30 51@2x

Compatibility

OS Implemented
iOS
Android
Web

maksymilianrojek and others added 6 commits December 15, 2025 13:22
- Create new web example in apps/example-web with React 19 and Vite
- Configure Turbo with build:web task
- Add workspace to monorepo configuration
- Update ESLint and .gitignore for web build output
- Update tsconfig files for monorepo setup
- update typescript configuration
- update pre-commit hook to run typescript check with correct config in package and each example
- update package.json: added "sideEffects" field to support tree-shaking,
updated "exports" to support native and web build
Base automatically changed from @maksymilianrojek/move-example-to-apps-folder to main December 22, 2025 09:51
@maksymilianrojek maksymilianrojek marked this pull request as ready for review January 9, 2026 10:06
@maksymilianrojek maksymilianrojek changed the title feat: set up project for web + native [DO NOT MERGE] feat: set up project for web + native Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants