Skip to content

Commit

Permalink
Fix package.json export required by some bundlers
Browse files Browse the repository at this point in the history
Fixes the issue: sindresorhus#145

A similar issue and fix can be found from instance here: uuidjs/uuid#449
  • Loading branch information
Frans-L committed Apr 27, 2022
1 parent 28a20ab commit 7977460
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Expand Up @@ -6,7 +6,10 @@
"repository": "sindresorhus/p-queue",
"funding": "https://github.com/sponsors/sindresorhus",
"type": "module",
"exports": "./dist/index.js",
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
},
"engines": {
"node": ">=12"
},
Expand Down

0 comments on commit 7977460

Please sign in to comment.