Skip to content

Commit

Permalink
fix: add main entry point (#355)
Browse files Browse the repository at this point in the history
Some tools don't play well with only having the `exports` field present.

See octokit/core.js#662
  • Loading branch information
wolfy1339 committed Feb 27, 2024
1 parent adeda6f commit e679a3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/build.mjs
Expand Up @@ -52,6 +52,8 @@ async function main() {
{
...pkg,
files: ["dist-*/**"],
main: "./dist-src/index.js",
types: "./dist-types/index.d.ts",
exports: {
".": {
types: "./dist-types/index.d.ts",
Expand Down

0 comments on commit e679a3f

Please sign in to comment.