yibn2008 / fast-sass-loader

High performance sass loader for webpack
250 stars 38 forks source link

@use not working in scss #67

Closed RacerDelux closed 2 years ago

RacerDelux commented 3 years ago

Pretty straight forward issue. I have a global.scss that at the very top has this code: @use "~material-components-web/material-components-web"; If I run it like that, it fails with this message: image If I use import instead like: @import "~material-components-web/material-components-web.scss"; It fails with the following message: image Note at this point it is failing to include the dependency chain within material's codebase. This is outside of my code.

andreyvolokitin commented 3 years ago

I guess migration to dart-sass is required, AFAIK node-sass doesn't support @use (as well as being deprecated)

yibn2008 commented 2 years ago

already fixed in the latest release