Support Tailwind CSS v4 in project builds

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.
This commit is contained in:
Alex Gleason committed 2026-04-26 19:56:25 -05:00
1 parent b2c5b1d81e
commit 1fd3d23d4f
3 files changed
+69 -8

No files matched your search

+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "shakespeare.diy",
"version": "9.11.4",
"version": "9.12.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "shakespeare.diy",
"version": "9.11.4",
"version": "9.12.0",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@capacitor/app": "^8.1.0",