Skip to content

Commit

Permalink
Merge branch 'main' into feat/support-react19
Browse files Browse the repository at this point in the history
  • Loading branch information
manudeli authored Dec 15, 2024
2 parents 534ab55 + a04c030 commit f798c79
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/spicy-carrots-attack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"overlay-kit": patch
---

feat: esm first (support cjs by exports field of package.json)
15 changes: 8 additions & 7 deletions packages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,22 @@
"email": "been.im@toss.im"
},
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./package.json": "./package.json"
Expand Down

0 comments on commit f798c79

Please # to comment.