Open trimox opened 4 years ago
Could this perhaps be related to #2189 ?
@RikEskes Yep, both are related issue. Does your StackBlitz ever finish compiling and starting dev server?
The StackBlitz used to finish compiling. If it continues not to do so I will create a new one to ensure the issue is reproducible.
Wondering if enabling Ivy
on StackBlitz is causing infinite compilation. Same thing occurs with https://stackblitz.com/edit/angular-mdc
Hrmm. Not sure this is an @use
issue since import
fails as well. Maybe something with the approach used inside angular.json
's stylePreprocessorOptions
to help Sass compiler locate the MDC Web Sass files?
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
]
},
I created a new StackBlitz project which does finish compiling: https://stackblitz.com/edit/angular-mdc-agnnan
I noticed that in your example, @RikEskes, you have commented out the following:
// // Angular MDC
// @use '@angular-mdc/theme/material';
Any reason for doing so? (this is the oppposite of the Getting Started section)
Appears StackBlitz template(s) are not recognizing
@use
as valid Sass rule. Maybe time to look @ alternatives..StackBlitz template (using canary): https://stackblitz.com/edit/angular-mdc