Skip to content

Commit a00f14a

Browse files
authored
Add explicit export for ./* (#2413)
1 parent b82ca7a commit a00f14a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,11 @@
118118
"main": "./lib/sinon.js",
119119
"module": "./pkg/sinon-esm.js",
120120
"exports": {
121-
"require": "./lib/sinon.js",
122-
"import": "./pkg/sinon-esm.js"
121+
".": {
122+
"require": "./lib/sinon.js",
123+
"import": "./pkg/sinon-esm.js"
124+
},
125+
"./*": "./*"
123126
},
124127
"type": "module",
125128
"cdn": "./pkg/sinon.js",

0 commit comments

Comments
 (0)