Skip to content

Commit

Permalink
✨ app: polyfill before expo router entry
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Nov 8, 2024
1 parent 8533543 commit a87439c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@exactly/mobile",
"version": "0.0.1",
"main": "expo-router/entry",
"main": "./src/index.js",
"scripts": {
"start": "expo start",
"android": "expo run:android",
Expand Down
2 changes: 0 additions & 2 deletions src/app/_layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import "../utils/polyfill";

import release from "@exactly/common/generated/release";
import { init, mobileReplayIntegration, reactNavigationIntegration, wrap } from "@sentry/react-native";
import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
Expand Down
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import "./utils/polyfill";
import "expo-router/entry";
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"expo-env.d.ts",
"src/**/*.ts",
"src/**/*.tsx",
"src/index.js",
"tamagui.config.ts"
]
}

0 comments on commit a87439c

Please sign in to comment.