Skip to content

Commit

Permalink
Fix type exports in package.json. (#26)
Browse files Browse the repository at this point in the history
* Fix type exports in package.json.

I'm not an expert on node packages but this fixed my issue locally.

* Create wet-snakes-fix.md

---------

Co-authored-by: Riccardo Perra <perrariccardo0@gmail.com>
  • Loading branch information
Heathcorp and riccardoperra authored Dec 10, 2023
1 parent 90dab98 commit e3daa5a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/wet-snakes-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fake-scope/fake-pkg": patch
---

Fix type exports in package.json.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"import": "./dist/esm/index.js",
"browser": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"node": "./dist/cjs/index.js"
"node": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
}
},
"license": "MIT",
Expand Down

0 comments on commit e3daa5a

Please sign in to comment.