Skip to content

Commit

Permalink
fix(pkg): add default fallback to exports
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Apr 15, 2024
1 parent a777e7d commit e9f7ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ async function main() {
{
...pkg,
files: ["dist-*/**", "bin/**"],
main: "dist-bundle/index.js",
types: "dist-types/index.d.ts",
exports: {
".": {
types: "./dist-types/index.d.ts",
import: "./dist-bundle/index.js",
default: "./dist-bundle/index.js",
},
},
sideEffects: false,
Expand Down

0 comments on commit e9f7ef2

Please sign in to comment.