{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/12978","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/12978/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/12978/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/12978/events","html_url":"https://github.com/angular/angular-cli/issues/12978","id":381551935,"node_id":"MDU6SXNzdWUzODE1NTE5MzU=","number":12978,"title":"Styleext configuration not honored when generating component","user":{"login":"WhitWaldo","id":2238529,"node_id":"MDQ6VXNlcjIyMzg1Mjk=","avatar_url":"https://avatars2.githubusercontent.com/u/2238529?v=4","gravatar_id":"","url":"https://api.github.com/users/WhitWaldo","html_url":"https://github.com/WhitWaldo","followers_url":"https://api.github.com/users/WhitWaldo/followers","following_url":"https://api.github.com/users/WhitWaldo/following{/other_user}","gists_url":"https://api.github.com/users/WhitWaldo/gists{/gist_id}","starred_url":"https://api.github.com/users/WhitWaldo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WhitWaldo/subscriptions","organizations_url":"https://api.github.com/users/WhitWaldo/orgs","repos_url":"https://api.github.com/users/WhitWaldo/repos","events_url":"https://api.github.com/users/WhitWaldo/events{/privacy}","received_events_url":"https://api.github.com/users/WhitWaldo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-16T11:01:53Z","updated_at":"2018-11-16T11:01:53Z","closed_at":null,"author_association":"NONE","body":"### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [x ] bug report -> please search issues before submitting\r\n- [ ] feature request\r\n```\r\n\r\n### Command (mark with an `x`)\r\n```\r\n- [ ] new\r\n- [ ] build\r\n- [ ] serve\r\n- [ ] test\r\n- [ ] e2e\r\n- [x ] generate\r\n- [ ] add\r\n- [ ] update\r\n- [ ] lint\r\n- [ ] xi18n\r\n- [ ] run\r\n- [ ] config\r\n- [ ] help\r\n- [ ] version\r\n- [ ] doc\r\n```\r\n\r\n### Versions\r\nnode --version\r\n`v8.11.1`\r\nnpm --version\r\n`6.4.0`\r\nng --version\r\n`Angular CLI: 7.0.5\r\nAngular: 7.0.3`\r\n\r\n\r\n### Repro steps\r\nRun the following in a project directory:\r\n`ng config schematics.@schematics/angular:component:styleext scss\r\nng g component test`\r\n\r\nObserve the following get generated:\r\n`CREATE src/app/test/test.component.html (23 bytes)`\r\n`CREATE src/app/test/test.component.spec.ts (614 bytes)`\r\n`CREATE src/app/test/test.component.ts (261 bytes)`\r\n`CREATE src/app/app.module.**css** (388 bytes)`\r\n`UPDATE src/app/app.module.ts (388 bytes)`\r\n\r\nNotably, it creates the style file with a CSS extension despite the \"scss\" configuration\r\n\r\n### The log given by the failure\r\nNo failure observed, just incorrect output.\r\n\r\n\r\n### Desired functionality\r\nShould be creating a style file with \"test.scss\", not with \"test.css\".\r\n\r\n\r\n### Mention any other details that might be useful\r\nHappy to provide anything else if you can think of it, but the above repro steps were sufficient from a new project to reproduce on my machine.\r\n"}}
{"actor":{"display_login":"WhitWaldo"}}