mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 08:23:34 +00:00
Detect the Tailwind major version from the project's package.json and branch the build pipeline accordingly. v3 projects keep loading the Play CDN runtime and a JS tailwind.config via the existing synthetic entry. v4 projects instead pull in @tailwindcss/browser@4, which auto-scans the document and reads theme config from CSS (@theme / @import 'tailwindcss') so no config shim is required.