Skip to content

Commit a837618

Browse files
committed
fix: use "react-native" instead of "source"
1 parent 616822f commit a837618

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,20 @@
77
"version": "2.1.2",
88
"description": "react-native-sketch-canvas allows you to draw / sketch on both iOS and Android devices and sync the drawing data between users. Of course you can save as image.",
99
"author": "Terry Lin",
10+
"react-native": "./src/index.tsx",
1011
"main": "./lib/commonjs/index.js",
1112
"module": "./lib/module/index.js",
1213
"types": "./lib/typescript/module/index.d.ts",
1314
"exports": {
1415
"./package.json": "./package.json",
1516
".": {
1617
"import": {
17-
"source": "./src/index.tsx",
18+
"react-native": "./src/index.tsx",
1819
"types": "./lib/typescript/module/index.d.ts",
1920
"default": "./lib/module/index.js"
2021
},
2122
"require": {
22-
"source": "./src/index.tsx",
23+
"react-native": "./src/index.tsx",
2324
"types": "./lib/typescript/commonjs/index.d.ts",
2425
"default": "./lib/commonjs/index.js"
2526
}

0 commit comments

Comments
 (0)