Closed DJ-Icebear closed 6 years ago
@DJ-Icebear I think it's an another BOM issue, see https://github.com/yibn2008/fast-sass-loader/issues/33#issuecomment-381176888
check out fast-sass-loader@1.4.2
, it will auto remove BOM header if sass file encoding is utf8 with BOM.
I can verify that the BOM header was the issue. I reencoded all of my scss files to UTF without signature and it works =). TY!
I have 1.4.5 on Windows and I'm getting a similar issue. I cannot change the encoding of my files as my team is large and it's bound to be a reoccurring issue.
Module build failed: ModuleBuildError: Module build failed: Error: Invalid CSS after "$body-bg": expected 1 selector or at-rule, was ": $color123 !defaul"
the line is
$body-bg: $color123 !default;
works fine with sass-loader, I'm looking to use this for dedupe purposes.
Apologies i'm also seeing import issues, so there a bigger issue. I was hoping to switch from sass-loader to this, but looks like it will require some work. Just not clear what, so I'll just revert due to time restraints. Thanks
Hello! I'm trying to swap out
sass-loader
forfast-sass-loader
, however I get this error message trying to doing so:My webpack.config.js looks like this: