Skip to content

Commit

Permalink
actually fix cjs require() default export
Browse files Browse the repository at this point in the history
Missed a step.

#189 (comment)
  • Loading branch information
isaacs committed Jan 22, 2023
1 parent 04ab899 commit a4fa1f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"default": "./dist/mjs/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
"types": "./dist/cjs/index-cjs.d.ts",
"default": "./dist/cjs/index-cjs.js"
}
}
},
Expand Down

0 comments on commit a4fa1f8

Please sign in to comment.