Skip to content

Commit

Permalink
export types
Browse files Browse the repository at this point in the history
adding `types` fields to `package.json` fixes #648
  • Loading branch information
braebo authored and pngwn committed Sep 4, 2024
1 parent 185dede commit 9818200
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/mdsvex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@
"exports": {
".": {
"require": "./dist/main.cjs",
"default": "./dist/main.mjs"
"default": "./dist/main.mjs",
"types": "./dist/main.es.d.ts"
},
"./package.json": "./package.json"
},
"main": "dist/main.cjs",
"module": "dist/main.mjs",
"types": "./dist/main.es.d.ts",
"repository": "https://github.com/pngwn/MDsveX",
"scripts": {
"build": "rollup -c",
Expand Down

0 comments on commit 9818200

Please sign in to comment.