Skip to content

Commit

Permalink
feat: defined exports for the package
Browse files Browse the repository at this point in the history
BREAKING CHANGE: exports prevents access to internal files, but they arent intended for public use anyway
  • Loading branch information
travi committed Sep 2, 2023
1 parent 07a79ea commit 72ab317
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -77,6 +77,7 @@
"engines": {
"node": ">=18"
},
"exports": "./index.js",
"files": [
"bin",
"docs",
Expand All @@ -98,7 +99,7 @@
"version"
],
"license": "MIT",
"main": "index.js",
"main": "./index.js",
"types": "index.d.ts",
"c8": {
"include": [
Expand Down

0 comments on commit 72ab317

Please sign in to comment.