Skip to content

build: switch to Vite 8#4591

Open
AlCalzone wants to merge 4 commits intomasterfrom
vite-8
Open

build: switch to Vite 8#4591
AlCalzone wants to merge 4 commits intomasterfrom
vite-8

Conversation

@AlCalzone
Copy link
Member

@coveralls
Copy link

coveralls commented Mar 13, 2026

Pull Request Test Coverage Report for Build 23184849248

Details

  • 0 of 1 (0.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 18.3%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/plugins/vuetify.js 0 1 0.0%
Totals Coverage Status
Change from base Build 22992250849: 0.0%
Covered Lines: 4054
Relevant Lines: 23538

💛 - Coveralls

@robertsLando
Copy link
Member

The only super weird thing I noticed is that the built version shows weird icons, seems like them are bigger and bolder ??

Kooha-2026-03-17-08-26-08.webm

Vite 8's Rolldown bundler reorders CSS chunks in production, reversing
the cascade order for auto-imported component styles vs statically
imported CSS. This caused Material Design Icons to appear bigger and
bolder in production builds (`.material-icons{font-size:24px}` winning
over `.v-icon--size-default{font-size:1.5em}`).

Wrap the material-design-icons-iconfont import in a CSS `@layer` so
Vuetify's unlayered component styles always take precedence regardless
of source order.

Ref: vitejs/vite#21903

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@robertsLando
Copy link
Member

The icon font rendering issue (icons appearing bigger/bolder in production builds) was caused by Vite 8's Rolldown bundler reordering CSS chunks, reversing the cascade between dev and production modes.

Reported upstream: vitejs/vite#21903

Workaround applied in b0607f8: wrap the material-design-icons-iconfont CSS import in a CSS @layer so Vuetify's component styles always take precedence regardless of source order.

robertsLando and others added 2 commits March 17, 2026 09:16
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

3 participants