Skip to content

Commit

Permalink
Add TypeScript declaration files for web and node builds
Browse files Browse the repository at this point in the history
  • Loading branch information
patinthehat committed May 11, 2023
1 parent c4a09bb commit 5b3d844
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@
},
"./web": {
"import": "./dist/web.esm.mjs",
"require": "./dist/web.cjs.js"
"require": "./dist/web.cjs.js",
"types": "./dist/web.d.ts"
},
"./node": {
"import": "./dist/index.esm.mjs",
"require": "./dist/index.cjs.js"
"require": "./dist/index.cjs.js",
"types": "./dist/index.d.ts"
},
"./standalone": {
"require": "./dist/standalone.js"
Expand Down

0 comments on commit 5b3d844

Please sign in to comment.