1
0
Fork 0

use node conditional exports instead of reconfiguring exports for different use cases

This commit is contained in:
Enoch Riese 2023-07-27 18:52:58 -06:00
parent 1ce504b182
commit 7ff2bded15
79 changed files with 313 additions and 107 deletions

View file

@ -20,7 +20,10 @@
"type": "module",
"module": "dist/index.mjs",
"exports": {
".": "./dist/index.mjs"
".": {
"internal": "./src/index.mjs",
"default": "./dist/index.mjs"
}
},
"scripts": {
"build": "node build.mjs",