Skip to content

Commit

Permalink
feat(package): Fix import paths and optimize package size
Browse files Browse the repository at this point in the history
- Add exports field to support ES module imports with proper type definitions
- Configure files to publish only dist and README.md
  • Loading branch information
vkartk committed Jan 16, 2025
1 parent 91cc33d commit 42ff49a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@
"storage",
"cdn"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist",
"README.md"
],
"author": "Karthik V",
"license": "MIT",
"bugs": {
Expand Down

0 comments on commit 42ff49a

Please sign in to comment.