chore(build): drop redundant tailwindcss direct dependency

@tailwindcss/node already depends on tailwindcss at the same exact
version (4.3.3), so a top-level entry would only risk a second copy
resolving in the build process. The one-copy pin the native-binding
rule requires is now held solely by @tailwindcss/node's exact
dependency; update the tailwind.css comment to match.
This commit is contained in:
bowenliang123 committed 2026-10-12 13:57:21 +08:00
1 parent e4b3012897
commit a1772d9717
3 files changed
+4 -7

No files matched your search

-1
View File
@@ -149,7 +149,6 @@
"react-dom": "^18.3.1",
"shiki": "^4.3.1",
"simple-icons": "16.32.0",
"tailwindcss": "4.3.3",
"tsdown": "^0.23.0",
"typescript": "^7.0.2",
"vitest": "^4.1.11",
-3
View File
@@ -141,9 +141,6 @@ importers:
simple-icons:
specifier: 16.32.0
version: 16.32.0
tailwindcss:
specifier: 4.3.3
version: 4.3.3
tsdown:
specifier: ^0.23.0
version: 0.23.0(typescript@7.0.2)
+4 -3
View File
@@ -14,9 +14,10 @@
* - dsh styles itself through CSS modules and `--ds-*`/`--dsw-*` tokens, so generic names like
* `flex`/`gap-2` cannot collide; the flat `lc-*` namespace is the plugin's own chrome.
*
* tailwindcss / @tailwindcss/node / @tailwindcss/oxide are pinned to one exact version (as is
* lightningcss): the config process loads this compiler alongside lightningcss's native binding, and
* two copies of any native set in that realm break the napi calls.
* @tailwindcss/node / @tailwindcss/oxide are pinned to one exact version (as is lightningcss): the
* config process loads this compiler alongside lightningcss's native binding, and two copies of any
* native set in that realm break the napi calls. `tailwindcss` itself is not a direct dependency —
* @tailwindcss/node pulls it at that same exact version, so the pin holds with no second entry.
*/
@theme static {
--spacing: 4px;