Skip to content

Commit

Permalink
chore: adds types property to package.json exports (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marabyte authored Apr 22, 2023
1 parent a513e75 commit b7147f9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .changeset/quiet-suits-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@sardine/colour": minor
---

chore: Adds compatibility with TypeScript's `"moduleResolution": "bundler"` compiler option
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/cjs/index.js",
"default": "./dist/index.js"
}
Expand Down Expand Up @@ -65,6 +66,6 @@
"c8": "^7.12.0",
"postcss": "^8.4.16",
"tailwindcss": "^3.1.8",
"typescript": "^4.7.4"
"typescript": "^5.0.4"
}
}

0 comments on commit b7147f9

Please sign in to comment.