mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 22:14:29 +09:00
Here replaced esbuild with vite for building sdk-components packages. Vite can be configured to output preserved structure instead of bundling everything into single module which hurts treeshaking a lot. sdk-components-react ./fixtures/ssg/dist/client: 284kB (-24kB) ./fixtures/webstudio-remix-netlify-functions/build/client: 368kB (-28kB) ./fixtures/webstudio-remix-vercel/build/client: 1004kB (-8kB) sdk-components-react-radix ./fixtures/ssg/dist/client: 284kB (-4kB) ./fixtures/webstudio-remix-netlify-functions/build/client: 372kB (0kB) ./fixtures/webstudio-remix-vercel/build/client: 900kB (-108kB)
Radix Components for Webstudio
Radix Primitives is a low-level UI component library with a focus on accessibility and customization. Default styling is inspired by https://ui.shadcn.com/docs.