Skip to content

Commit 67f129b

Browse files
authored
fix: change exports from import to default to allow require()
1 parent aefa79c commit 67f129b

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
@@ -13,11 +13,11 @@
1313
"type": "module",
1414
"exports": {
1515
"./mocha-cleanup": {
16-
"import": "./dist/mocha-cleanup.hooks.js"
16+
"default": "./dist/mocha-cleanup.hooks.js"
1717
},
1818
".": {
1919
"types": "./dist/index.d.ts",
20-
"import": "./dist/index.js"
20+
"default": "./dist/index.js"
2121
}
2222
},
2323
"main": "./dist/index.js",

0 commit comments

Comments
 (0)