Skip to content

fix(vite-plugin): avoid duplicate environment CSS chunks - #653

Merged
owjs3901 merged 2 commits into
mainfrom
owjs3901/fix-css-chunk-reemit
Aug 30, 2026
Merged

fix(vite-plugin): avoid duplicate environment CSS chunks#653
owjs3901 merged 2 commits into
mainfrom
owjs3901/fix-css-chunk-reemit

Conversation

@owjs3901

Copy link
Copy Markdown
Contributor

Summary

  • share finalized CSS asset state across Vite environment builds
  • remove redundant client CSS imports only when the server environment already emitted the same chunk
  • preserve client-only and changed base CSS chunks
  • add regression coverage and a patch changepack for @devup-ui/vite-plugin

Verification

  • pre-commit lint: cargo fmt, cargo clippy -D warnings, ESLint
  • pre-commit tests: Rust coverage suite and 5,167 Bun tests (100% JS/TS coverage)
  • bun run --filter @devup-ui/vite-plugin build
  • Vinext landing production build repeated with 0 FILE_NAME_CONFLICT warnings

@github-actions

Copy link
Copy Markdown
Contributor

Changepacks

@devup-ui/components@0.1.54 → 0.1.55 - packages/components/package.json

Patch

  • Auto-update: depends on '@devup-ui/vite-plugin' via a local workspace dependency

@devup-ui/vite-plugin@1.0.68 → 1.0.69 - packages/vite-plugin/package.json

Patch

  • Avoid re-emitting identical Devup CSS chunks across Vite environment builds

@codecov

codecov Bot commented Aug 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
packages/vite-plugin/src/plugin.ts 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@owjs3901
owjs3901 merged commit b6148d4 into main Aug 30, 2026
4 checks passed
@owjs3901
owjs3901 deleted the owjs3901/fix-css-chunk-reemit branch August 30, 2026 11:08
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