Update "main" to "exports"

This commit is contained in:
Nick Alteen
2023-08-30 09:13:41 -04:00
parent 25ff36335b
commit e57113d7b9
2 changed files with 86 additions and 68 deletions

View File

@ -17,7 +17,9 @@
"node",
"setup"
],
"main": "dist/index.js",
"exports": {
".": "./dist/index.js"
},
"engines": {
"node": ">=16"
},