Skip to content

Commit

Permalink
fix: add main entrypoint for better ecosystem compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Apr 9, 2024
1 parent 9a39794 commit 2a4e230
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 7 deletions.
64 changes: 58 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
},
"./package.json": "./package.json"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"browserslist": [
"fully supports es6-module",
Expand Down Expand Up @@ -58,7 +59,7 @@
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.4",
"@babel/preset-env": "^7.24.4",
"@sanity/pkg-utils": "^5.1.12",
"@sanity/pkg-utils": "^6.1.0",
"@sanity/semantic-release-preset": "^4.0.2",
"@types/react": "^18.2.74",
"@types/react-dom": "^18.2.24",
Expand Down

0 comments on commit 2a4e230

Please sign in to comment.