You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inline styles will not be rendered with a special renderer, unfortunately. It is impossible for us to know which compiler you want your inline style to use, and even so we don't have control over how inline styles are compiled; we do not resolve their content like we do with external styles. This is a limitation of the angular compiler itself.
Inline component styles only support the native CSS, and SCSS/Less/Styles compilers are not planned to be supported. But what about autoprefixer? Is it still not possible because of "a limitation of the angular compiler"?
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Versions
Repro steps
ng new test-styles
app.module.ts
with:app.component.css
:ng build
In
dist/test-styles/main.js
you will see:...
CSS from
app.component.css
was processed by autoprefixer, but inline component styles were not.The text was updated successfully, but these errors were encountered: