Skip to content

[Bug] scss with Qwik starter and ssr is broken #749

@gioboa

Description

@gioboa

Qwik Version

v0.0.34

Operating System (or Browser)

macOs + Chrome

Node Version (if applicable)

No response

Which component is affected?

Qwik Rollup / Vite plugin

Expected Behaviour

scss styles loaded correctly

Actual Behaviour

  1. npm init qwik@latest
  2. Choose Starter, Express and add Prettier
  3. cd qwik-app
  4. npm install
  5. npm install sass <-- UPDATE
  6. add .mytitle { color: red; } inside global.css
  7. add mytitle class to h1 selector inside app.tsx
  8. rename global.css to global.scss
  9. fix global.css import inside root.tsx
  10. run npm run dev.ssr and mytitle class is not loaded

Additional Information

With npm run dev is working correctly

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions