Skip to content

Commit 712d0ba

Browse files
authored
Merge pull request #10 from cuppachino/urgent-fix-1
fix: set default entry point to cjs output. Only affects targets that ignore the exports field in package.json.
2 parents 09c8a59 + a892a68 commit 712d0ba

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/clever-plums-collect.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cuppachino/openapi-fetch": patch
3+
---
4+
5+
fix: set default entry point to cjs output. Only affects targets that ignore the exports field in package.json.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"author": "Ajai Shankar",
1313
"license": "MIT",
1414
"type": "module",
15-
"main": "./dist/cjs/index.js",
15+
"main": "./dist/cjs/index.cjs",
1616
"module": "./dist/esm/index.js",
1717
"exports": {
1818
"types": "./dist/index.d.ts",

0 commit comments

Comments
 (0)