Skip to content

Commit

Permalink
🚑️ fix entrypoint issue caused by removing src folder from bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
troberts-28 committed Jul 13, 2024
1 parent 92bcb74 commit fe52432
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@
"url": "https://github.com/troberts-28"
},
"license": "MIT",
"version": "1.10.0",
"version": "1.10.1",
"main": "dist/commonjs/index.js",
"types": "dist/typescript/src/index.d.ts",
"module": "dist/module/index.js",
"types": "dist/typescript/index.d.ts",
"typings": "dist/typescript/index.d.ts",

"scripts": {
"setup": "yarn && cd example && yarn",
"setup-bare": "yarn && cd example-bare && yarn",
Expand Down Expand Up @@ -125,10 +128,6 @@
"react-test-renderer": "^18.0.0",
"typescript": "^4.7.4"
},
"react-native": "src/index.ts",
"source": "src/index.ts",
"module": "dist/module/index.js",
"typings": "./dist/typescript/index.d.ts",
"react-native-builder-bob": {
"source": "src",
"output": "dist",
Expand Down
2 changes: 0 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@
"lib": ["esnext"],
"allowJs": true,
"jsx": "react-native",
"noEmit": false,
"strict": true,
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"skipLibCheck": true,
"outDir": "./dist",
"rootDir": "src",
"declaration": true
},
Expand Down

0 comments on commit fe52432

Please sign in to comment.