{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/10024","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/10024/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/10024/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/10024/events","html_url":"https://github.com/angular/angular-cli/issues/10024","id":306984992,"node_id":"MDU6SXNzdWUzMDY5ODQ5OTI=","number":10024,"title":"SCSS styles: [] generates modularized CSS instead of being truly global","user":{"login":"JohnGalt1717","id":1868147,"node_id":"MDQ6VXNlcjE4NjgxNDc=","avatar_url":"https://avatars2.githubusercontent.com/u/1868147?v=4","gravatar_id":"","url":"https://api.github.com/users/JohnGalt1717","html_url":"https://github.com/JohnGalt1717","followers_url":"https://api.github.com/users/JohnGalt1717/followers","following_url":"https://api.github.com/users/JohnGalt1717/following{/other_user}","gists_url":"https://api.github.com/users/JohnGalt1717/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnGalt1717/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnGalt1717/subscriptions","organizations_url":"https://api.github.com/users/JohnGalt1717/orgs","repos_url":"https://api.github.com/users/JohnGalt1717/repos","events_url":"https://api.github.com/users/JohnGalt1717/events{/privacy}","received_events_url":"https://api.github.com/users/JohnGalt1717/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-20T18:23:02Z","updated_at":"2019-03-13T12:36:30Z","closed_at":"2019-03-13T12:36:30Z","author_association":"NONE","body":"Angular CLI: 1.7.3\r\nNode: 9.3.0\r\nOS: win32 x64\r\nAngular: 5.2.9\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, language-service, platform-browser\r\n... platform-browser-dynamic, router, service-worker\r\n\r\n@angular/cli: 1.7.3\r\n@angular-devkit/build-optimizer: 0.3.2\r\n@angular-devkit/core: 0.3.2\r\n@angular-devkit/schematics: 0.3.2\r\n@ngtools/json-schema: 1.2.0\r\n@ngtools/webpack: 1.10.2\r\n@schematics/angular: 0.3.2\r\n@schematics/package-update: 0.3.2\r\ntypescript: 2.5.3\r\nwebpack: 3.11.0\r\n\r\n\r\n### Repro steps\r\n* Create a new project ng new --styles=scss\r\n* ng build --extract-css\r\n\r\n\r\n\r\n### Observed behavior\r\nobserve the contents of the styles.bundle.css file has everything in the styles.scss prefixed with :global\r\n\r\n### Desired behavior\r\nShould allow these styles to survive without module code.\r\n\r\n### Mention any other details that might be useful (optional)\r\n\r\nAlso noticed this with webpack. However with webpack setting the sass-loader's option for modules: false fixed the problem. Can't do that with the CLI.\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/472404215","html_url":"https://github.com/angular/angular-cli/issues/10024#issuecomment-472404215","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/10024","id":472404215,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3MjQwNDIxNQ==","user":{"login":"alan-agius4","id":17563226,"node_id":"MDQ6VXNlcjE3NTYzMjI2","avatar_url":"https://avatars3.githubusercontent.com/u/17563226?v=4","gravatar_id":"","url":"https://api.github.com/users/alan-agius4","html_url":"https://github.com/alan-agius4","followers_url":"https://api.github.com/users/alan-agius4/followers","following_url":"https://api.github.com/users/alan-agius4/following{/other_user}","gists_url":"https://api.github.com/users/alan-agius4/gists{/gist_id}","starred_url":"https://api.github.com/users/alan-agius4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alan-agius4/subscriptions","organizations_url":"https://api.github.com/users/alan-agius4/orgs","repos_url":"https://api.github.com/users/alan-agius4/repos","events_url":"https://api.github.com/users/alan-agius4/events{/privacy}","received_events_url":"https://api.github.com/users/alan-agius4/received_events","type":"User","site_admin":false},"created_at":"2019-03-13T12:36:30Z","updated_at":"2019-03-13T12:36:30Z","author_association":"COLLABORATOR","body":"I'm sorry, but we can't reproduce the problem following the instructions you provided.\r\nRemember that we have a large number of issues to resolve, and have only a limited amount of time to reproduce your issue.\r\nShort, explicit instructions make it much more likely we'll be able to reproduce the problem so we can fix it.\r\n\r\nIf the problem persists, please open a new issue following [our submission guidelines](https://github.com/angular/angular-cli/blob/master/CONTRIBUTING.md#-submitting-an-issue).\r\n\r\nA good way to make a minimal repro is to create a new app via `ng new repro-app` and add the minimum possible code to show the problem. Then you can push this repository to github and link it here."}}
{"actor":{"display_login":"alan-agius4"}}