Skip to content

Commit 616822f

Browse files
committed
fix: RN 0.79.x missing component config metro error
1 parent 3b3e86a commit 616822f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,19 @@
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-
"source": "./src/index.tsx",
1110
"main": "./lib/commonjs/index.js",
1211
"module": "./lib/module/index.js",
1312
"types": "./lib/typescript/module/index.d.ts",
1413
"exports": {
1514
"./package.json": "./package.json",
1615
".": {
1716
"import": {
17+
"source": "./src/index.tsx",
1818
"types": "./lib/typescript/module/index.d.ts",
1919
"default": "./lib/module/index.js"
2020
},
2121
"require": {
22+
"source": "./src/index.tsx",
2223
"types": "./lib/typescript/commonjs/index.d.ts",
2324
"default": "./lib/commonjs/index.js"
2425
}

0 commit comments

Comments
 (0)