Skip to content

Commit 4e53682

Browse files
committed
fix: add exports field to enable extension-less imports
1 parent fa0d04f commit 4e53682

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"index.js",
99
"skip-formatting.js"
1010
],
11+
"exports": {
12+
".": "./index.js",
13+
"skip-formatting": "./skip-formatting.js"
14+
},
1115
"publishConfig": {
1216
"access": "public"
1317
},

0 commit comments

Comments
 (0)