Skip to content

Commit

Permalink
maint/build ~ add './cjs' subpath export with correct types for CJS
Browse files Browse the repository at this point in the history
  • Loading branch information
rivy committed Feb 8, 2021
1 parent 17b903f commit 5b184df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@
},
"./dist/cjs/mod.cjs.js"
],
"./package.json": "./package.json"
"./package.json": "./package.json",
"./cjs": {
"require": "./dist/cjs/mod.cjs.js",
"types": "./dist/cjs/mod.cjs.d.ts"
}
},
"keywords": [
"common",
Expand Down

0 comments on commit 5b184df

Please sign in to comment.