Skip to content

Commit

Permalink
Fix @lunariajs/core .cjs types & published files (#12)
Browse files Browse the repository at this point in the history
* Fix `@lunariajs/core` .cjs types

* Create great-hounds-applaud.md
  • Loading branch information
yanthomasdev authored Oct 27, 2023
1 parent ef8a929 commit c41e14e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/great-hounds-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@lunariajs/core": patch
---

Fix .cjs types & published files in `package.json`
15 changes: 12 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,20 @@
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
}
},
"files": [
"dist",
"CHANGELOG.md"
],
"keywords": [
"i18n",
"translation",
Expand Down

0 comments on commit c41e14e

Please sign in to comment.