Skip to content

fix(desktop): avoid false CSS warnings during install builds - #587

Merged
huichen merged 1 commit into
mainfrom
claude/install-warnings-pr
Sep 13, 2026
Merged

huichen merged 1 commit into
mainfrom
claude/install-warnings-pr

Conversation

@huichen

@huichen huichen commented Sep 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Use Vite's esbuild CSS minifier and disable Tailwind's redundant Lightning CSS optimization, avoiding false warnings for valid ::highlight(...) selectors.
  • Disable only Rolldown plugin timing advisories; keep correctness diagnostics enabled.
  • Declare esbuild explicitly and update the cross-platform lockfile.

Validation

  • Windows: npm ci --workspace desktop --ignore-scripts
  • npm run lint --workspace desktop (ESLint and TypeScript)
  • npm run test --workspace desktop -- --reporter=dot (109 files, 959 tests passed)
  • npm run build --workspace desktop (no CSS or plugin timing warnings; production streaming worker check passed)
  • Parsed the production CSS and verified both custom highlight selectors retain their semantic theme colors.

Full make install was not rerun, to avoid replacing running binaries.

@huichen
huichen enabled auto-merge (squash) September 13, 2026 07:49
@huichen
huichen merged commit 6305d66 into main Sep 13, 2026
12 checks passed
@huichen
huichen deleted the claude/install-warnings-pr branch September 13, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant