Skip to content

Warn User When Detecting Styles that may be SCSS or LESS for inline styles #8472

Description

@johnpapa

Bug Report or Feature Request (mark with an x)

- [  ] bug report -> please search issues before submitting
- [ X ] feature request

Versions.

Angular CLI: 1.5.0
Node: 8.9.1
OS: darwin x64
macOS Sierra 10.12.6

Repro steps.

  1. run ng new foo --styles scss
  2. create a component with inline styles
  3. add scss styles to it
  4. run ng serve -o

The log given by the failure.

The styles compile as CSS, with no errors.

Desired functionality.

I would like to see angular warn when detecting SASS or LESS in inline styles and the CLI json file has SCSS or LESS identified.

as per chat with @StephenFluin

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureLabel used to distinguish feature request from other issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions