Skip to content

Global defaults.styleExt in globalconfig not honored when creating a new project #5009

@Cammisuli

Description

@Cammisuli

Setting the global config to have a default style extenstion does not get honored when creating a new application.

I expect that we can set the defaults in the global config and have the cli respect those settings.

OS?

Mac OSX (El Capitan)

Versions.

@angular/cli: 1.0.0-rc.0

Repro steps.

  • Set global config with ng set --global defaults.styleExt=scss
  • Create new application with ng new
  • Notice that the component styles are still css

Note: creating a new application with ng new appname --style=scss still works. Also doing ng set defaults.styleExt=scss works as well.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions