{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/3544","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/3544/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/3544/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/3544/events","html_url":"https://github.com/angular/angular-cli/issues/3544","id":195332495,"number":3544,"title":"ng build --prod does not preserve escaped '\\x1B' sequence.","user":{"login":"chunghha","id":24458075,"avatar_url":"https://avatars.githubusercontent.com/u/24458075?v=3","gravatar_id":"","url":"https://api.github.com/users/chunghha","html_url":"https://github.com/chunghha","followers_url":"https://api.github.com/users/chunghha/followers","following_url":"https://api.github.com/users/chunghha/following{/other_user}","gists_url":"https://api.github.com/users/chunghha/gists{/gist_id}","starred_url":"https://api.github.com/users/chunghha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chunghha/subscriptions","organizations_url":"https://api.github.com/users/chunghha/orgs","repos_url":"https://api.github.com/users/chunghha/repos","events_url":"https://api.github.com/users/chunghha/events{/privacy}","received_events_url":"https://api.github.com/users/chunghha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-13T18:33:43Z","updated_at":"2016-12-16T01:08:49Z","closed_at":null,"body":"> Please provide us with the following information:\r\n> ---------------------------------------------------------------\r\n\r\n### OS?\r\nWindows 7\r\n\r\n### Versions.\r\nangular-cli: 1.0.0-beta.21\r\nnode: 6.9.2\r\nos: win32 x64\r\n\r\n### Repro steps.\r\n- ng new test11\r\n- cd test11\r\n- edit src/app/app.component.ts with\r\ntitle = 'app works!' + '\\x1B';\r\n- ng build\r\n![image](https://cloud.githubusercontent.com/assets/24458075/21152802/879767de-c12d-11e6-8a25-7c44673c96ad.png)\r\n**'\\x1B' sequence is preserved.**\r\n- ng build --prod\r\n![image](https://cloud.githubusercontent.com/assets/24458075/21152867/c8e8613e-c12d-11e6-8891-495a2e7fb5bd.png)\r\n**becomes raw 0x1B character.**\r\n\r\nAbove steps are just to demo the issue I am facing now. But, my real problem is with angular's \r\n[browser_adapter.ts line 30](https://github.com/angular/angular/blob/7295a5e7f208af0cc3503f33403979f7898c8ba2/modules/%40angular/platform-browser/src/browser/browser_adapter.ts)\r\n\r\nthe Escape sequence on line 30 becomes invalid character (raw 0x1B) while building for prod by the cli command. \r\n\r\nIs there any way in CLI to fix this erroneous behavior of bundling?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/267490993","html_url":"https://github.com/angular/angular-cli/issues/3544#issuecomment-267490993","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/3544","id":267490993,"user":{"login":"clydin","id":19598772,"avatar_url":"https://avatars.githubusercontent.com/u/19598772?v=3","gravatar_id":"","url":"https://api.github.com/users/clydin","html_url":"https://github.com/clydin","followers_url":"https://api.github.com/users/clydin/followers","following_url":"https://api.github.com/users/clydin/following{/other_user}","gists_url":"https://api.github.com/users/clydin/gists{/gist_id}","starred_url":"https://api.github.com/users/clydin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clydin/subscriptions","organizations_url":"https://api.github.com/users/clydin/orgs","repos_url":"https://api.github.com/users/clydin/repos","events_url":"https://api.github.com/users/clydin/events{/privacy}","received_events_url":"https://api.github.com/users/clydin/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T01:08:49Z","updated_at":"2016-12-16T01:08:49Z","body":"Based on your needs, the ascii only option is what you'd want.  Unfortunately, there is currently no way to adjust the setting with the CLI."}}
{"actor":{"display_login":"clydin"}}