mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
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:
3 files changed
+69
-8
No files matched your search
Generated
+2
-2
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user