Open mrequs opened 1 year ago
Could you tests if this works as expected in plain Vite + Vue?
Could you tests if this works as expected in plain Vite + Vue?
looks the same, apparently it's a vite problem itself
Then it'd be great to open an issue there 👍 Feel free to link this one then ☺️
@manniL looks it's related with https://github.com/vitejs/vite/issues/10340
Environment
Darwin
v16.15.1
3.0.0
1.0.0
yarn@1.22.5
vite
css
,webpack
,vite
-
-
Reproduction
File: assets/typo.module.scss
File: pages/index.vue
Describe the bug
The compose in CSS modules doesn't work with SCSS files.
In this case the scss file is loaded as regular css file, it's not compiled from scss to css, when i try use other loader like (what i do in Nuxt2, where it's work):
I got error 500 with message:
Cannot read properties of undefined (reading 'length')
I tried with different loaders (postcss-loader, etc.) other aliases (@/) and the result always be the same
Additional context
No response
Logs