Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move tsup configuration to use experimentalDts or use rollup #37

Closed
ixahmedxi opened this issue Apr 6, 2024 · 0 comments · Fixed by #59
Closed

Move tsup configuration to use experimentalDts or use rollup #37

ixahmedxi opened this issue Apr 6, 2024 · 0 comments · Fixed by #59
Labels
enhancement New feature or request

Comments

@ixahmedxi
Copy link
Owner

Currently, the build time for the ui package is very slow because of DTS generation of many entry points, this is a known issue with tsup and the way around it is to just increase the memory that it can use which is not great.

The options we have to tackle this are:

  • move to the new experimentalDts feature, note that I have tried this and it ended up giving me a lot of TS errors.
  • create our own custom packages/config/rollup where we define all bundling needs in the monorepo there.
@ixahmedxi ixahmedxi added the enhancement New feature or request label Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant