Conversation
There was a problem hiding this comment.
listing every single scss file here is too error prone and besides, angular compiler will fetch all css files and prefix all selectors by default to provide css isolation. so we definitely don't want to list individual files here.
|
We should support sass out of the box, but not like this.
a lot of this stuff will change once we move the template compilation to the build step, but for now the above should do |
|
Yeah but, If you compile all .scss files in place you would need to point each file to the variables and mixins, if that file uses any of them. |
|
That sounds like a good thing to me. That's exactly what imports in the
|
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Considering that all the styles end up inside the head tag of our html, I think it's safe to also generate sass files with new components, import them manually in the main "app.scss" file (located inside the "app" folder), which gets compiled to "app.css" and is linked in our index.html.
Also keep the generated .css files if anyone wants to use them