Skip to content

Commit 057ba82

Browse files
authored
fix: build error requiring default last (#26)
1 parent 001666d commit 057ba82

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@
88
"exports": {
99
".": {
1010
"import": {
11-
"default": "./index.js",
12-
"types": "./index.d.ts"
11+
"types": "./index.d.ts",
12+
"default": "./index.js"
1313
},
1414
"require": {
15-
"default": "./dist/index.cjs",
16-
"types": "./dist/index.d.cts"
15+
"types": "./dist/index.d.cts",
16+
"default": "./dist/index.cjs"
1717
}
1818
},
1919
"./connect": {
2020
"import": {
21-
"default": "./connect.js",
22-
"types": "./connect.d.ts"
21+
"types": "./connect.d.ts",
22+
"default": "./connect.js"
2323
},
2424
"require": {
25-
"default": "./dist/connect.cjs",
26-
"types": "./dist/connect.d.cts"
25+
"types": "./dist/connect.d.cts",
26+
"default": "./dist/connect.cjs"
2727
}
2828
}
2929
},

0 commit comments

Comments
 (0)