Skip to content

Commit 942f5d6

Browse files
authored
move types condition to the front (#171)
1 parent 655fa25 commit 942f5d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"types": "build/index.d.ts",
77
"type": "commonjs",
88
"exports": {
9+
"types": "./build/index.d.ts",
910
"require": "./build/index.js",
10-
"import": "./build/index.mjs",
11-
"types": "./build/index.d.ts"
11+
"import": "./build/index.mjs"
1212
},
1313
"scripts": {
1414
"build": "npm run build:clean && npm run compile && cp -R src/index.mjs src/vendor-typings build",

0 commit comments

Comments
 (0)