Skip to content

Commit

Permalink
Ship types
Browse files Browse the repository at this point in the history
  • Loading branch information
pd4d10 committed Dec 15, 2022
1 parent b3c4a96 commit 40dda9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@
"version": "5.0.0",
"license": "MIT",
"type": "module",
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
}
Expand Down
1 change: 1 addition & 0 deletions tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export default defineConfig({
entry: ['src/index.ts'],
format: ['cjs', 'esm'],
clean: true,
dts: true,
});

0 comments on commit 40dda9a

Please sign in to comment.