Skip to content

Commit

Permalink
fix(cjs): type exports refer to non-existing file (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph-fricke authored May 28, 2024
1 parent f11bf30 commit 6793dcc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/hungry-waves-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"openapi-msw": patch
---

Fixed type-exports for CommonJS refer to a non-existing file.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
".": {
"types": {
"import": "./dist/exports/main.d.ts",
"require": "./cjs/exports/main.d.js"
"require": "./cjs/exports/main.d.ts"
},
"import": "./dist/exports/main.js",
"require": "./cjs/exports/main.js"
Expand Down

0 comments on commit 6793dcc

Please sign in to comment.