mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-10 06:24:35 +09:00
Build of whole monorepo without cache takes 1min or more on my laptop. tsc is very slow tool for this. Also having rootDir in tsconfig prevents checking outside of src folder. Here I added "scripts" package with "build-package" bin. It does both esm and cjs builds. --watch flag support completely replaces tsup for us. Now full rebuild of monorepo without cache takes only 10s including prisma-client, http-client and designer builds.
CSS Engine
This package is designed to render effectively CSS in the format produced by Webstudio Designer. It is using CSS variables for all dynamic parts and can render at runtime as for usage on Live Canvas in the Designer as well as for extracting a fully static style sheet for production.