Skip to content

CLI is ignoring defaults.styleExt #7682

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
eatinasandwich opened this issue Sep 13, 2017 · 3 comments
Closed

CLI is ignoring defaults.styleExt #7682

eatinasandwich opened this issue Sep 13, 2017 · 3 comments

Comments

@eatinasandwich
Copy link

Bug Report or Feature Request (mark with an x)

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

Versions.

@angular/cli: 1.4.1

Repro steps.

Run "ng set defaults.styleExt scss"
Run "ng g c my/component"

Also had previously altered .angular-cli.json with defaults.styleExt = scss

The log given by the failure.

C:\git\nps_portal>ng set defaults.styleExt scss

C:\git\nps_portal>ng g c hub/narwhal
  create src/app/hub/narwhal/narwhal.component.html (26 bytes)
  create src/app/hub/narwhal/narwhal.component.spec.ts (635 bytes)
  create src/app/hub/narwhal/narwhal.component.ts (273 bytes)
  create src/app/hub/narwhal/narwhal.component.css (0 bytes)
  update src/app/hub/hub.module.ts (1041 bytes)

Desired functionality.

CLI should generate stylesheets with the extension found in defaults.styleExt

Mention any other details that might be useful.

Was previously using version 1.2.6 and did not have this issue.

@Empereol
Copy link

I can confirm this is also happening to me with version 1.4.1.

@AhsanAyaz
Copy link
Contributor

Duplicate of #7624, #7644 & #7647,& #7522

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants