Skip to content

Commit

Permalink
fix(pkg): add main export (#681)
Browse files Browse the repository at this point in the history
Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
  • Loading branch information
wolfy1339 and nickfloyd committed Feb 27, 2024
1 parent a71ea0e commit 1d834ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ 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",
Expand Down

0 comments on commit 1d834ae

Please sign in to comment.