Skip to content

Commit

Permalink
fix(): add a default export (#1237)
Browse files Browse the repository at this point in the history
- typescript config with module resolution set to node16, nodenext or bundler shows an
- error because there is no default conditional export
  • Loading branch information
david10sing authored Aug 10, 2023
1 parent 8d16461 commit 5970677
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
"types": "./types/index.d.ts",
"import": "./dist/esbrowser/index.js",
"default": "./dist/lib/index.es5.js"
},
"default": {
"types": "./types/index.d.ts",
"default": "./dist/lib/index.es5.js"
}
},
"./package.json": "./package.json"
Expand Down

0 comments on commit 5970677

Please sign in to comment.