{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/6760","labels_url":"https://api.github.com/repos/angular/angular/issues/6760/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/6760/comments","events_url":"https://api.github.com/repos/angular/angular/issues/6760/events","html_url":"https://github.com/angular/angular/issues/6760","id":129627338,"number":6760,"title":"[beta.2] Error bundling using SystemJS Builder in Beta.2","user":{"login":"antonybudianto","id":7658554,"avatar_url":"https://avatars.githubusercontent.com/u/7658554?v=3","gravatar_id":"","url":"https://api.github.com/users/antonybudianto","html_url":"https://github.com/antonybudianto","followers_url":"https://api.github.com/users/antonybudianto/followers","following_url":"https://api.github.com/users/antonybudianto/following{/other_user}","gists_url":"https://api.github.com/users/antonybudianto/gists{/gist_id}","starred_url":"https://api.github.com/users/antonybudianto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonybudianto/subscriptions","organizations_url":"https://api.github.com/users/antonybudianto/orgs","repos_url":"https://api.github.com/users/antonybudianto/repos","events_url":"https://api.github.com/users/antonybudianto/events{/privacy}","received_events_url":"https://api.github.com/users/antonybudianto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-29T00:34:23Z","updated_at":"2016-01-29T00:45:52Z","closed_at":null,"body":"Hi, I just updated my starter project to **angular2.0.0@beta.2** and when running in development, it was okay, but when I run production build and serve it, it showed error as follows:\r\n<img width=\"1280\" alt=\"screen shot 2016-01-09 at 6 46 17 am\" src=\"https://cloud.githubusercontent.com/assets/7658554/12212459/3275147c-b69d-11e5-9540-f7123cbeb031.png\">\r\n**It's not happening in angular2.0.0@beta.0**\r\n\r\nyou can reproduce it by cloning my [repo](https://github.com/antonybudianto/angular2-starter) using `master` branch, then run `gulp serve-build`\r\n\r\nand if you change [mangle](https://github.com/antonybudianto/angular2-starter/blob/master/tasks/build.js#L30) to false, it's working!\r\n\r\nI'm using [SystemJS builder](https://github.com/systemjs/builder) for bundling, thanks!"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/176498994","html_url":"https://github.com/angular/angular/issues/6760#issuecomment-176498994","issue_url":"https://api.github.com/repos/angular/angular/issues/6760","id":176498994,"user":{"login":"evanplaice","id":303159,"avatar_url":"https://avatars.githubusercontent.com/u/303159?v=3","gravatar_id":"","url":"https://api.github.com/users/evanplaice","html_url":"https://github.com/evanplaice","followers_url":"https://api.github.com/users/evanplaice/followers","following_url":"https://api.github.com/users/evanplaice/following{/other_user}","gists_url":"https://api.github.com/users/evanplaice/gists{/gist_id}","starred_url":"https://api.github.com/users/evanplaice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanplaice/subscriptions","organizations_url":"https://api.github.com/users/evanplaice/orgs","repos_url":"https://api.github.com/users/evanplaice/repos","events_url":"https://api.github.com/users/evanplaice/events{/privacy}","received_events_url":"https://api.github.com/users/evanplaice/received_events","type":"User","site_admin":false},"created_at":"2016-01-29T00:45:52Z","updated_at":"2016-01-29T00:45:52Z","body":"Are you using any non-default loaders (ex plugin-css, plugin-text)?"}}