Skip to content

Commit

Permalink
fix(typescript): support module Node16/NodeNext (faker-js#1005)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Ross <rossirsa@gmail.com>
  • Loading branch information
2 people authored and Minozzzi committed Jul 19, 2022
1 parent de0f78c commit 6f9b145
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 6f9b145

Please sign in to comment.