Skip to content

Conversation

@mifi
Copy link
Contributor

@mifi mifi commented Aug 19, 2024

Goal

if not i'm getting typescript errors when importing

Design

seems to be the way it's done

Changeset

  • change export to include types, so it works with bundler

Testing

tested in a project

mifi added 2 commits August 20, 2024 00:37
if not i'm getting typescript errors when importing
fix also other exports
@yousif-bugsnag
Copy link
Contributor

Hi @mifi, thanks for raising this.

This has highlighted some wider issues with the separate main and renderer exports for this package, particularly for projects using ESM.

We have some upcoming tasks scheduled to re-work our JS packages and build processes that should resolve these, so we're going to hold off on this PR in order to address these issues together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants