egoist / egoist/tsup

Transpiling seems incomplete in react

Open
#898 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
11.3k
Forks
275
PR merge metrics
No merged PRs in 30d

Description

Hi, thanks for building this amazing library. Currently im having an issue with bundling in nextjs/react.
![Screenshot 2023-05-05 at 9 55 32 AM](https://user-images.githubusercontent.com/44113416/236363238-d684b71b-f3c5-454e-a868-82acccbeb8da.png)

after bundling with tsup, it seems it still return html fragment but not React.createElement.xxxx

May i know how to solve this problem? thanks!
below attached my tsup config
![Screenshot 2023-05-05 at 9 57 02 AM](https://user-images.githubusercontent.com/44113416/236363378-be5561f4-9f01-409c-9892-8dcbd37b5d5e.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.