{"action":"created","issue":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5555","repository_url":"https://api.github.com/repos/ember-cli/ember-cli","labels_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5555/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5555/comments","events_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5555/events","html_url":"https://github.com/ember-cli/ember-cli/issues/5555","id":138038577,"number":5555,"title":"Error when vendor library being minified during build --prod","user":{"login":"pmkhoa","id":1144585,"avatar_url":"https://avatars.githubusercontent.com/u/1144585?v=3","gravatar_id":"","url":"https://api.github.com/users/pmkhoa","html_url":"https://github.com/pmkhoa","followers_url":"https://api.github.com/users/pmkhoa/followers","following_url":"https://api.github.com/users/pmkhoa/following{/other_user}","gists_url":"https://api.github.com/users/pmkhoa/gists{/gist_id}","starred_url":"https://api.github.com/users/pmkhoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmkhoa/subscriptions","organizations_url":"https://api.github.com/users/pmkhoa/orgs","repos_url":"https://api.github.com/users/pmkhoa/repos","events_url":"https://api.github.com/users/pmkhoa/events{/privacy}","received_events_url":"https://api.github.com/users/pmkhoa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ember-cli/ember-cli/labels/Needs%20Dependency%20Fix","name":"Needs Dependency Fix","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-03T00:46:38Z","updated_at":"2016-03-03T06:23:01Z","closed_at":"2016-03-03T06:22:09Z","body":"This looks like a very rare case when the minification/uglification process during `ember build --prod`  replaced `$super` by random character `e`, and caused an error `vendor-7ff....js:11 TypeError: e is not a function`.\r\n\r\nSpecifically, I use library call Rickshaw, and here is the [unminified code](https://github.com/shutterstock/rickshaw/blob/52867709195f71303e588c58b71a5aa6abb09f95/src/js/Rickshaw.Graph.Renderer.Line.js#L7). As we can see `$super` is not a regular param here, and therefore shouldn't  be uglified.\r\n\r\nIs there any suggestion how to resolve this? Please advise. \r\nThanks!"},"comment":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/comments/191599945","html_url":"https://github.com/ember-cli/ember-cli/issues/5555#issuecomment-191599945","issue_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5555","id":191599945,"user":{"login":"stefanpenner","id":1377,"avatar_url":"https://avatars.githubusercontent.com/u/1377?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanpenner","html_url":"https://github.com/stefanpenner","followers_url":"https://api.github.com/users/stefanpenner/followers","following_url":"https://api.github.com/users/stefanpenner/following{/other_user}","gists_url":"https://api.github.com/users/stefanpenner/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanpenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanpenner/subscriptions","organizations_url":"https://api.github.com/users/stefanpenner/orgs","repos_url":"https://api.github.com/users/stefanpenner/repos","events_url":"https://api.github.com/users/stefanpenner/events{/privacy}","received_events_url":"https://api.github.com/users/stefanpenner/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T06:23:01Z","updated_at":"2016-03-03T06:23:01Z","body":"options can be provided via `minifyJS = { }`  in ember-app, as documented here. http://ember-cli.com/user-guide/#minifying Options their are likely to be passed through to uglify."}}