{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/3239","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/3239/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/3239/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/3239/events","html_url":"https://github.com/angular/angular-cli/issues/3239","id":191138322,"number":3239,"title":"ng build --dev vs ng build --prod : Why is prod build larger?","user":{"login":"lebsral","id":2120007,"avatar_url":"https://avatars.githubusercontent.com/u/2120007?v=3","gravatar_id":"","url":"https://api.github.com/users/lebsral","html_url":"https://github.com/lebsral","followers_url":"https://api.github.com/users/lebsral/followers","following_url":"https://api.github.com/users/lebsral/following{/other_user}","gists_url":"https://api.github.com/users/lebsral/gists{/gist_id}","starred_url":"https://api.github.com/users/lebsral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lebsral/subscriptions","organizations_url":"https://api.github.com/users/lebsral/orgs","repos_url":"https://api.github.com/users/lebsral/repos","events_url":"https://api.github.com/users/lebsral/events{/privacy}","received_events_url":"https://api.github.com/users/lebsral/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-22T22:11:35Z","updated_at":"2016-11-22T22:11:35Z","closed_at":null,"body":"> Please provide us with the following information:\r\n> ---------------------------------------------------------------\r\n\r\n### OS?\r\n> Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)\r\nMac OSX 10.12.1\r\n\r\n### Versions.\r\n> Please run `ng --version`. If there's nothing outputted, please run in a Terminal: `node --version` and paste the result here:\r\nangular-cli: 1.0.0-beta.20-4\r\nnode: 7.1.0\r\nos: darwin x64\r\n\r\n### Repro steps.\r\n> Was this an app that wasn't created using the CLI? What change did you do on your code? etc.\r\nng new testing\r\ncd testing\r\nng build --dev\r\n\r\nsize of dist folder is 5.1mb\r\n\r\nng build --prod\r\n\r\nsize of dist folder is now 6.8mb.\r\n\r\n\r\n\r\n### The log given by the failure.\r\n> Normally this include a stack trace and some more information.\r\n\r\n\r\n### Mention any other details that might be useful.\r\n\r\n> ---------------------------------------------------------------\r\n> Thanks! We'll be in touch soon.\r\n\r\n\r\nWhy does the prod build produce a larger dist folder?  Isn't it doing tree shaking and uglification?\r\n"}}
{"actor":{"display_login":"lebsral"}}