Skip to content

Commit dfee7ac

Browse files
committed
fix: 🐛 package.json definitions
1 parent b82a6b5 commit dfee7ac

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

packages/react-native-bottom-tabs/package.json

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"source": "./src/index.tsx",
66
"main": "./lib/commonjs/index.js",
77
"module": "./lib/module/index.js",
8-
"types": "./lib/typescript/module/src/index.d.ts",
8+
"types": "./lib/typescript/commonjs/src/index.d.ts",
9+
"sideEffects": false,
910
"exports": {
1011
".": {
1112
"import": {
@@ -17,16 +18,6 @@
1718
"default": "./lib/commonjs/index.js"
1819
}
1920
},
20-
"./react-navigation": {
21-
"import": {
22-
"types": "./lib/typescript/module/src/react-navigation/index.d.ts",
23-
"default": "./lib/module/react-navigation/index.js"
24-
},
25-
"require": {
26-
"types": "./lib/typescript/commonjs/src/react-navigation/index.d.ts",
27-
"default": "./lib/commonjs/react-navigation/index.js"
28-
}
29-
},
3021
"./package.json": "./package.json",
3122
"./app.plugin.js": "./app.plugin.js"
3223
},

packages/react-navigation/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"source": "./src/index.tsx",
66
"main": "./lib/commonjs/index.js",
77
"module": "./lib/module/index.js",
8-
"types": "./lib/typescript/module/src/index.d.ts",
8+
"types": "./lib/typescript/commonjs/src/index.d.ts",
9+
"sideEffects": false,
910
"exports": {
1011
".": {
1112
"import": {

0 commit comments

Comments
 (0)