Open avivash opened 1 year ago
I'm going to keep this issue open for now because I think it would be good to address this at some point, so we have a template to use if we want to apply this same approach to another one of our projects at some point
Summary
I haven't explored this in depth yet and it may be tricky given the amount of libraries and styles used in the component, but I want to experiment with some things in the
vite.widget.config.ts
to reduce the bundle size.Update: it looks like the css imported into the widget from tailwind/daisy is increasing the bundle size by almost 70%, so stripping those out and just using raw CSS may be a good first step
Motivation
Smaller file size is better 🤷🏼