Skip to content

Commit

Permalink
fix(typescript): support module Node16/NodeNext (#1005)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Ross <[email protected]>
  • Loading branch information
julienfouilhe and andrew-w-ross authored May 25, 2022
1 parent ccd2959 commit 8736c2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@
},
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.mjs"
},
"./locale/*": {
"types": "./dist/types/locale/*.d.ts",
"require": "./dist/cjs/locale/*.js",
"import": "./dist/esm/locale/*.mjs"
},
Expand Down

0 comments on commit 8736c2a

Please sign in to comment.