Skip to content

Commit

Permalink
(chore) export types in package.json (#3736)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgoebel committed Mar 19, 2023
1 parent 909ba4e commit aa58ffa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/build_node.js
Expand Up @@ -102,7 +102,10 @@ function dual(file) {
}

const generatePackageExports = () => ({
".": dual("./lib/index.js"),
".": {
...dual("./lib/index.js"),
"types": "./types/index.d.ts",
},
"./package.json": "./package.json",
"./lib/common": dual("./lib/common.js"),
"./lib/core": dual("./lib/core.js"),
Expand Down

0 comments on commit aa58ffa

Please sign in to comment.