Skip to content

Commit

Permalink
✨ Expose generators and distributions (#735)
Browse files Browse the repository at this point in the history
Instead of only making them available from the central entry-point they can now be fetched one at a time to load faster in Node, better bundle...
  • Loading branch information
dubzzz authored Sep 24, 2024
1 parent 0c356cf commit 86869a1
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,36 @@
}
}
},
"./distribution/*": {
"require": {
"types": "./lib/types/distribution/*.d.ts",
"default": "./lib/distribution/*.js"
},
"import": {
"types": "./lib/esm/types/distribution/*.d.ts",
"default": "./lib/esm/distribution/*.js"
}
},
"./generator/*": {
"require": {
"types": "./lib/types/generator/*.d.ts",
"default": "./lib/generator/*.js"
},
"import": {
"types": "./lib/esm/types/generator/*.d.ts",
"default": "./lib/esm/generator/*.js"
}
},
"./types/*": {
"require": {
"types": "./lib/types/types/*.d.ts",
"default": "./lib/types/*.js"
},
"import": {
"types": "./lib/esm/types/types/*.d.ts",
"default": "./lib/esm/types/*.js"
}
},
"module": "lib/esm/pure-rand.js",
"types": "lib/types/pure-rand.d.ts",
"files": [
Expand Down

0 comments on commit 86869a1

Please sign in to comment.