Looks like this config in Angular.json fixes the issue for Angular 17
"stylePreprocessorOptions": { "includePaths": [ "." ] }