We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
main
1 parent 0551690 commit f151af4Copy full SHA for f151af4
scripts/build.mjs
@@ -61,6 +61,11 @@ async function main() {
61
{
62
...pkg,
63
files: ["dist-*/**", "bin/**"],
64
+ // Tooling currently are having issues with the "exports" field, ex: TypeScript, eslint
65
+ // We add a `main` and `types` field to the package.json for the time being
66
+ // See https://github.com/octokit/core.js/pulls/662
67
+ main: "dist-bundle/index.js",
68
+ types: "dist-types/index.d.ts",
69
exports: {
70
".": {
71
types: "./dist-types/index.d.ts",
0 commit comments