You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks @riccardolardi. Currently I'm still debugging how Vite resolve things in SCSS and reporting my findings at #5441. So far scss's JS API is just weird 🥲
What version of
astro
are you using?1.6.10
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
yarn
What operating system are you using?
Mac
Describe the Bug
Reproduction:
yarn create astro
yarn add -D sass
/src/_index.scss
, add<style lang="scss">
and@import '../_index.scss';
to/src/pages/index.astro
yarn dev
, visitlocalhost:3000
, all fineyarn astro add lit
yarn dev
, visitlocalhost:3000
, error:Sass: Can't find stylesheet to import.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-2hn57u?file=src/pages/index.astro
Participation
The text was updated successfully, but these errors were encountered: