Skip to content

Commit fe52432

Browse files
committed
🚑️ fix entrypoint issue caused by removing src folder from bundle
1 parent 92bcb74 commit fe52432

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@
66
"url": "https://github.com/troberts-28"
77
},
88
"license": "MIT",
9-
"version": "1.10.0",
9+
"version": "1.10.1",
1010
"main": "dist/commonjs/index.js",
11-
"types": "dist/typescript/src/index.d.ts",
11+
"module": "dist/module/index.js",
12+
"types": "dist/typescript/index.d.ts",
13+
"typings": "dist/typescript/index.d.ts",
14+
1215
"scripts": {
1316
"setup": "yarn && cd example && yarn",
1417
"setup-bare": "yarn && cd example-bare && yarn",
@@ -125,10 +128,6 @@
125128
"react-test-renderer": "^18.0.0",
126129
"typescript": "^4.7.4"
127130
},
128-
"react-native": "src/index.ts",
129-
"source": "src/index.ts",
130-
"module": "dist/module/index.js",
131-
"typings": "./dist/typescript/index.d.ts",
132131
"react-native-builder-bob": {
133132
"source": "src",
134133
"output": "dist",

tsconfig.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@
55
"lib": ["esnext"],
66
"allowJs": true,
77
"jsx": "react-native",
8-
"noEmit": false,
98
"strict": true,
109
"moduleResolution": "node",
1110
"allowSyntheticDefaultImports": true,
1211
"esModuleInterop": true,
1312
"skipLibCheck": true,
14-
"outDir": "./dist",
1513
"rootDir": "src",
1614
"declaration": true
1715
},

0 commit comments

Comments
 (0)