mirror of
https://github.com/lights0123/n-link.git
synced 2026-08-08 10:43:29 +00:00
fix(build): drop web from npm workspaces to unbreak Tailwind resolution
web/ declares @nuxtjs/tailwindcss, which pulls tailwindcss 1.9.6. npm hoisted that to the root, where @tailwindcss/forms resolved it instead of the 3.4.19 desktop needs, breaking the CSS build. Task 9 worked around this by copying a package into node_modules, which would not survive npm ci. Removing web from the workspaces array is the durable fix and is consistent with the spec, which declares web knowingly broken and out of scope for this port. Restore the entry when web is migrated to Nuxt 3. Verified from a clean install: root tailwindcss is 3.4.19 and the build emits 33KB of real CSS. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
f45e893bba
commit
b2b102b1b9
20911
package-lock.json
generated
20911
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -2,7 +2,6 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"desktop",
|
"desktop",
|
||||||
"n-link-core",
|
"n-link-core"
|
||||||
"web"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue