{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/1459","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/1459/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/1459/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/1459/events","html_url":"https://github.com/angular/angular-cli/issues/1459","id":167825490,"number":1459,"title":"feat(webpack): Support to add custom/third party css/sccs","user":{"login":"sirajc","id":5340498,"avatar_url":"https://avatars.githubusercontent.com/u/5340498?v=3","gravatar_id":"","url":"https://api.github.com/users/sirajc","html_url":"https://github.com/sirajc","followers_url":"https://api.github.com/users/sirajc/followers","following_url":"https://api.github.com/users/sirajc/following{/other_user}","gists_url":"https://api.github.com/users/sirajc/gists{/gist_id}","starred_url":"https://api.github.com/users/sirajc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirajc/subscriptions","organizations_url":"https://api.github.com/users/sirajc/orgs","repos_url":"https://api.github.com/users/sirajc/repos","events_url":"https://api.github.com/users/sirajc/events{/privacy}","received_events_url":"https://api.github.com/users/sirajc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular-cli/labels/priority:%201%20(urgent)","name":"priority: 1 (urgent)","color":"0052cc"},{"url":"https://api.github.com/repos/angular/angular-cli/labels/type:%20discussion","name":"type: discussion","color":"EEEEEE"},{"url":"https://api.github.com/repos/angular/angular-cli/labels/type:%20feature","name":"type: feature","color":"eeeeee"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-07-27T10:49:40Z","updated_at":"2016-08-15T01:36:23Z","closed_at":null,"body":"> Version/OS Information:\r\n> ---------------------------------------------------------------\r\n1. Windows 7\r\n2. `ng --version`. \r\nangular-cli: local (v1.0.0-beta.10, branch: master)  \r\nnode: 4.4.7  \r\nos: win32 x64  \r\n\r\n3. Repro steps. \r\nThis is CLI App. Have few css files/third party css that needs to be included in the app\r\n```ts\r\nimport './assets/vendor/paper/bootstrap.min.css';\r\nimport './assets/vendor/hint.min.css';\r\n```\r\nHaving above in `polyfill.ts` or `main.ts` has no effect, css are not included at all\r\n\r\nAs a workaround for now, I have included this in index.html\r\n```html\r\n<link rel=\"stylesheet\" href=\"assets/vendor/paper/bootstrap.min.css\" media=\"screen\">\r\n<link rel=\"stylesheet\" href=\"assets/vendor/hint.min.css\" media=\"screen\">\r\n```\r\nThis works fine, but we loose webpack features in this.\r\n\r\nExpectation: webpack starters support including css using import, It is expected that cli supports the same behaviour\r\n\r\n**Important:**\r\nI also have `app.scss` which is common styles for app, due this limitation I cannot include it, for now as a workaround, I have added this in app.component as below\r\n```ts\r\n  styleUrls: ['app.component.scss'],\r\n  encapsulation: ViewEncapsulation.None\r\n```\r\nThis way I have app.scss available for whole app, but this is clearly a hack\r\n\r\nPS: No error in logs"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/239713233","html_url":"https://github.com/angular/angular-cli/issues/1459#issuecomment-239713233","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/1459","id":239713233,"user":{"login":"filipesilva","id":4172079,"avatar_url":"https://avatars.githubusercontent.com/u/4172079?v=3","gravatar_id":"","url":"https://api.github.com/users/filipesilva","html_url":"https://github.com/filipesilva","followers_url":"https://api.github.com/users/filipesilva/followers","following_url":"https://api.github.com/users/filipesilva/following{/other_user}","gists_url":"https://api.github.com/users/filipesilva/gists{/gist_id}","starred_url":"https://api.github.com/users/filipesilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipesilva/subscriptions","organizations_url":"https://api.github.com/users/filipesilva/orgs","repos_url":"https://api.github.com/users/filipesilva/repos","events_url":"https://api.github.com/users/filipesilva/events{/privacy}","received_events_url":"https://api.github.com/users/filipesilva/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T01:36:23Z","updated_at":"2016-08-15T01:36:23Z","body":"https://github.com/angular/angular-cli/pull/1633 addresses this issue."}}
{"actor":{"display_login":"filipesilva"}}