Skip to content

Commit

Permalink
Fix imports for globals with a trailing slash
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmyersdev committed Dec 27, 2023
1 parent 94a3ae4 commit 0b4e349
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,25 @@
"require": "./shims/buffer/dist/index.cjs",
"import": "./shims/buffer/dist/index.js"
},
"./shims/buffer/": {
"require": "./shims/buffer/dist/index.cjs",
"import": "./shims/buffer/dist/index.js"
},
"./shims/global": {
"require": "./shims/global/dist/index.cjs",
"import": "./shims/global/dist/index.js"
},
"./shims/global/": {
"require": "./shims/global/dist/index.cjs",
"import": "./shims/global/dist/index.js"
},
"./shims/process": {
"require": "./shims/process/dist/index.cjs",
"import": "./shims/process/dist/index.js"
},
"./shims/process/": {
"require": "./shims/process/dist/index.cjs",
"import": "./shims/process/dist/index.js"
}
},
"main": "./dist/index.cjs",
Expand Down

0 comments on commit 0b4e349

Please sign in to comment.