Skip to content

Commit 0b4e349

Browse files
committed
Fix imports for globals with a trailing slash
1 parent 94a3ae4 commit 0b4e349

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,25 @@
3535
"require": "./shims/buffer/dist/index.cjs",
3636
"import": "./shims/buffer/dist/index.js"
3737
},
38+
"./shims/buffer/": {
39+
"require": "./shims/buffer/dist/index.cjs",
40+
"import": "./shims/buffer/dist/index.js"
41+
},
3842
"./shims/global": {
3943
"require": "./shims/global/dist/index.cjs",
4044
"import": "./shims/global/dist/index.js"
4145
},
46+
"./shims/global/": {
47+
"require": "./shims/global/dist/index.cjs",
48+
"import": "./shims/global/dist/index.js"
49+
},
4250
"./shims/process": {
4351
"require": "./shims/process/dist/index.cjs",
4452
"import": "./shims/process/dist/index.js"
53+
},
54+
"./shims/process/": {
55+
"require": "./shims/process/dist/index.cjs",
56+
"import": "./shims/process/dist/index.js"
4557
}
4658
},
4759
"main": "./dist/index.cjs",

0 commit comments

Comments
 (0)