Open michaelfester opened 1 year ago
Our unified
toolchain for rendering the answer as well as @radix-ui/react-dialog
are currently the biggest contributors to our bundle size.
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.@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.https://github.com/KittyGiraudel/a11y-dialog/releases/tag/8.0.0 Another option for a more lightweight dialog
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.