Skip to content

Commit

Permalink
✨ (expo): create new index.ts file and update package.json main entry…
Browse files Browse the repository at this point in the history
… to point to index.ts (#1119)

The commit introduces a new index.ts file under the expo directory and updates the package.json file to change the main entry point to index.ts. This change is made to improve the project structure and ensure that the main file is correctly referenced in the package.json configuration.
  • Loading branch information
necmettindev authored Jul 22, 2024
1 parent 2cc6e3e commit 2e60079
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/expo/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import "expo-router/entry";
2 changes: 1 addition & 1 deletion apps/expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@acme/expo",
"version": "0.1.0",
"private": true,
"main": "expo-router/entry",
"main": "index.ts",
"scripts": {
"clean": "git clean -xdf .expo .turbo node_modules",
"dev": "expo start",
Expand Down

0 comments on commit 2e60079

Please sign in to comment.