Skip to content

Fix/vite6 sass path#85

Open
EvannZhongg wants to merge 2 commits into
poloclub:mainfrom
EvannZhongg:fix/vite6-sass-path
Open

Fix/vite6 sass path#85
EvannZhongg wants to merge 2 commits into
poloclub:mainfrom
EvannZhongg:fix/vite6-sass-path

Conversation

@EvannZhongg

Copy link
Copy Markdown

gh pr create --repo poloclub/transformer-explainer
--base main --head EvannZhongg:fix/vite6-sass-path
--title "Fix Vite 6 Sass preprocessing" `
--body "## What

  • Upgrade Vite from ^5.4.21 to ^6.4.3
  • Configure Sass loadPaths for src/styles
  • Replace injected Sass @import with @use

Why

@sveltejs/vite-plugin-svelte@6.2.4 requires Vite 6.3+. After upgrading, Sass could no longer resolve src/styles/variables.scss and the dev server returned 500.

Validation

  • npm run build passes
  • npm run check still reports existing unrelated type errors"

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