You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our unified toolchain for rendering the answer as well as @radix-ui/react-dialog are currently the biggest contributors to our bundle size.
We can look into replacing unified with markdown-to-jsx, which is a lot more lightweight. I tried once, but it appeared to mangle the HTML of the prompt answer while incomplete. There might be a setting I did not try so worth another look.
We could drop @radix-ui/react-dialog for the native <dialog /> element, which is supported in all major browsers. It would mean more custom code and maintenance on our end but it might be worth the payoff.
Is your feature request related to a problem? Please describe.
Currently, @markprompt/web is quite big:
Describe the solution you'd like
We should check if there are low hanging fruits allowing us to reduce the bundle size.
The text was updated successfully, but these errors were encountered: