-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Desktop app Tailwind 4 #1438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Desktop app Tailwind 4 #1438
Changes from all commits
6b9c44b
40cf146
bff5b66
a681a88
3df6657
ab4fb11
c0e5724
3639093
5ce30ac
501baf1
6164124
cf7be04
3aa2905
cd6e23e
ff91c46
bb33158
9ab6aba
1099572
3465e15
f80a754
c9cd0e8
58ddcfe
f02714b
dc2c443
1e19cae
2227fa7
3b48cc3
e4434cf
78c5ca2
821645f
5914222
de97650
17e6ecb
a598262
51b78b0
b16cd8c
e285de7
eca16fd
96d33d9
18d966f
9226231
dfeffa5
a360e27
ce7192e
29a53fb
291366b
8c10410
e8dd3d0
84cb2f1
3dd643c
4440ccd
0ded5a9
2a919cb
9b69a9b
983a44e
eecbd18
3967e3a
e5426c4
320f7d7
3105c69
2db6842
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1 +1,8 @@ | ||||||||||||||||||||||||||||
| module.exports = require("@cap/ui/postcss"); | ||||||||||||||||||||||||||||
| // module.exports = require("@cap/ui/postcss"); | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| module.exports = { | ||||||||||||||||||||||||||||
| plugins: { | ||||||||||||||||||||||||||||
| "@tailwindcss/postcss": {}, | ||||||||||||||||||||||||||||
| autoprefixer: {}, | ||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||
| }; | ||||||||||||||||||||||||||||
|
Comment on lines
+1
to
+8
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: fd -type f -name "postcss.config.*"Repository: CapSoftware/Cap Length of output: 174 🏁 Script executed: find . -type f -name "*postcss*" | grep -E "\.(ts|js|cjs|mjs)$" | head -20Repository: CapSoftware/Cap Length of output: 174 🏁 Script executed: find . -path "*/cap/ui/*" -type f | grep -iE "(postcss|index)" | head -20Repository: CapSoftware/Cap Length of output: 174 🏁 Script executed: rg -t js -t ts "@cap/ui/postcss" --max-count 20Repository: CapSoftware/Cap Length of output: 174 🌐 Web query:
💡 Result: Short answer: Yes — in Tailwind CSS v4 the new @tailwindcss/postcss plugin + Lightning CSS make separate autoprefixer (and postcss-import / postcss-preset-env) generally redundant. What changed
What to do
Sources: Tailwind v4 docs and migration guidance. [1] [2] [3] Remove JS comment and redundant Two things to fix here:
Corrected config: -// module.exports = require("@cap/ui/postcss");
-
module.exports = {
plugins: {
"@tailwindcss/postcss": {},
- autoprefixer: {},
},
};📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
@tauri-apps/cli 2.9.5 release notes changelog💡 Result:
Here are the release notes / changelog entries for @tauri-apps/cli v2.9.5:
Bug fixes:
Performance improvements:
Dependencies:
Sources: [1] Tauri release page for @tauri-apps/cli v2.9.5, [2] tauri-apps/tauri GitHub release (tauri-cli v2.9.5).
🌐 Web query:
@tauri-apps/cli 2.9.5 @tauri-apps/api 2.5.0 compatibility💡 Result:
Short answer: not recommended — upgrade @tauri-apps/api to a 2.9.x release to match @tauri-apps/cli 2.9.5.
Why: the Tauri ecosystem expects matching/close releases across packages (tauri, @tauri-apps/api, tauri-cli/@tauri-apps/cli). @tauri-apps/cli 2.9.5 is part of the 2.9.x ecosystem; @tauri-apps/api 2.5.0 is an older 2.5.x release and may miss APIs/behavior introduced since 2.5.0. For best compatibility, use @tauri-apps/api 2.9.x with @tauri-apps/cli 2.9.5. [1][2]
Sources:
References:
[1] Tauri Core Ecosystem Releases (shows tauri/@tauri-apps/api and cli 2.9.x alignment).
[2] @tauri-apps/api v2.5.0 release page.
Upgrade @tauri-apps/api to 2.9.x for compatibility with @tauri-apps/cli 2.9.5.
The version constraint for @tauri-apps/cli was updated to
^2.9.5, but @tauri-apps/api is pinned at 2.5.0. The Tauri ecosystem requires matching or close release versions across packages; using cli 2.9.5 with api 2.5.0 creates a significant version mismatch (4 minor versions apart). This can result in missing APIs or behavioral inconsistencies. Upgrade @tauri-apps/api to a 2.9.x release to ensure ecosystem alignment.🤖 Prompt for AI Agents