Skip to content

Commit

Permalink
fix(pkg): add main entry point (#662)
Browse files Browse the repository at this point in the history
* add main entry point so eslint doesn't complain with the unresolved error `Unable to resolve path to module '@octokit/core'`

* add "types"
  • Loading branch information
deniak committed Feb 26, 2024
1 parent 88d3536 commit 42148fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/build.mjs
Expand Up @@ -55,6 +55,8 @@ async function main() {
{
...pkg,
files: ["dist-*/**", "bin/**"],
main: "./dist-src/index.js",
types: "./dist-types/index.d.ts",
exports: {
".": {
types: "./dist-types/index.d.ts",
Expand Down

0 comments on commit 42148fc

Please sign in to comment.