We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebdb1f7 commit 4a231e2Copy full SHA for 4a231e2
package.json
@@ -6,8 +6,14 @@
6
"main": "./lib/cjs/index.js",
7
"exports": {
8
".": {
9
- "require": "./lib/cjs/index.js",
+ "import": {
10
+ "types": "./lib/esm/typings.d.ts",
11
"default": "./lib/esm/index.mjs"
12
+ },
13
+ "require": {
14
+ "types": "./lib/cjs/typings.d.ts",
15
+ "default": "./lib/cjs/index.js"
16
+ }
17
}
18
},
19
"module": "./lib/esm/index.mjs",
@@ -26,10 +32,9 @@
26
32
"Tong Li"
27
33
],
28
34
"license": "Apache-2.0",
29
- "types": "./typings.d.ts",
35
30
36
"files": [
31
- "lib",
- "typings.d.ts"
37
+ "lib"
38
39
"scripts": {
40
"prebuild": "rm -rf lib",
0 commit comments