Skip to content

Commit

Permalink
Fix bad wildcard export for ESM/CJS compatibility (#434)
Browse files Browse the repository at this point in the history
## Summary
<!-- Succinctly describe your change, providing context, what you've
changed, and why. -->

Fixes a bad `exports` entry that should be a wildcard.

## Checklist
<!-- Tick these items off as you progress. -->
<!-- If an item isn't applicable, ideally please strikeout the item by
wrapping it in "~~"" and suffix it with "N/A My reason for skipping
this." -->
<!-- e.g. "- [ ] ~~Added tests~~ N/A Only touches docs" -->

- [ ] ~~Added a [docs PR](https://github.com/inngest/website) that
references this PR~~ N/A Bug fix
- [ ] ~~Added unit/integration tests~~ N/A
- [x] Added changesets if applicable
  • Loading branch information
jpwilliams committed Dec 19, 2023
1 parent 4629788 commit cb953ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/bright-insects-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"inngest": patch
---

Fix bad wildcard export `inngest/components/*` for ESM/CJS compatibility
2 changes: 1 addition & 1 deletion packages/inngest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"types": "./deno/fresh.d.ts"
},
"./api/*": "./api/*.js",
"./components": "./components/*.js",
"./components/*": "./components/*.js",
"./deno/*": "./deno/*.js",
"./helpers/*": "./helpers/*.js",
"./middleware/*": "./middleware/*.js"
Expand Down

0 comments on commit cb953ee

Please sign in to comment.