{"action":"created","issue":{"url":"https://api.github.com/repos/ebryn/ember-component-css/issues/40","labels_url":"https://api.github.com/repos/ebryn/ember-component-css/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/ebryn/ember-component-css/issues/40/comments","events_url":"https://api.github.com/repos/ebryn/ember-component-css/issues/40/events","html_url":"https://github.com/ebryn/ember-component-css/issues/40","id":69318346,"number":40,"title":"`Unexpected token: eof (undefined)` when running production build","user":{"login":"ebryn","id":3018,"avatar_url":"https://avatars.githubusercontent.com/u/3018?v=3","gravatar_id":"","url":"https://api.github.com/users/ebryn","html_url":"https://github.com/ebryn","followers_url":"https://api.github.com/users/ebryn/followers","following_url":"https://api.github.com/users/ebryn/following{/other_user}","gists_url":"https://api.github.com/users/ebryn/gists{/gist_id}","starred_url":"https://api.github.com/users/ebryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebryn/subscriptions","organizations_url":"https://api.github.com/users/ebryn/orgs","repos_url":"https://api.github.com/users/ebryn/repos","events_url":"https://api.github.com/users/ebryn/events{/privacy}","received_events_url":"https://api.github.com/users/ebryn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ebryn/ember-component-css/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-18T15:21:32Z","updated_at":"2015-04-19T00:52:08Z","closed_at":null,"body":"When running `ember build --environment=production`, the following error occurs within UglifyJS:\r\n\r\n```\r\nUnexpected token: eof (undefined)\r\nError\r\n   at new JS_Parse_Error (/Users/trentmwillis/workspace/testing/node_modules/ember-cli-uglify/node_modules/broccoli-uglify-sourcemap/node_modules/uglify-js/lib/parse.js:196:18)\r\n   at js_error (/Users/trentmwillis/workspace/testing/node_modules/ember-cli-uglify/node_modules/broccoli-uglify-sourcemap/node_modules/uglify-js/lib/parse.js:204:11)\r\n   at croak (/Users/trentmwillis/workspace/testing/node_modules/ember-cli-uglify/node_modules/broccoli-uglify-sourcemap/node_modules/uglify-js/lib/parse.js:679:41)\r\n   at token_error (/Users/trentmwillis/workspace/testing/node_modules/ember-cli-uglify/node_modules/broccoli-uglify-sourcemap/node_modules/uglify-js/lib/parse.js:683:9)\r\n   at unexpected (/Users/trentmwillis/workspace/testing/node_modules/ember-cli-uglify/node_modules/broccoli-uglify-sourcemap/node_modules/uglify-js/lib/parse.js:689:9)\r\n   at block_ (/Users/trentmwillis/workspace/testing/node_modules/ember-cli-uglify/node_modules/broccoli-uglify-sourcemap/node_modules/uglify-js/lib/parse.js:1001:28)\r\n   at /Users/trentmwillis/workspace/testing/node_modules/ember-cli-uglify/node_modules/broccoli-uglify-sourcemap/node_modules/uglify-js/lib/parse.js:975:25\r\n   at function_ (/Users/trentmwillis/workspace/testing/node_modules/ember-cli-uglify/node_modules/broccoli-uglify-sourcemap/node_modules/uglify-js/lib/parse.js:980:15)\r\n   at expr_atom (/Users/trentmwillis/workspace/testing/node_modules/ember-cli-uglify/node_modules/broccoli-uglify-sourcemap/node_modules/uglify-js/lib/parse.js:1188:24)\r\n   at maybe_unary (/Users/trentmwillis/workspace/testing/node_modules/ember-cli-uglify/node_modules/broccoli-uglify-sourcemap/node_modules/uglify-js/lib/parse.js:1358:19)\r\n```"},"comment":{"url":"https://api.github.com/repos/ebryn/ember-component-css/issues/comments/94217163","html_url":"https://github.com/ebryn/ember-component-css/issues/40#issuecomment-94217163","issue_url":"https://api.github.com/repos/ebryn/ember-component-css/issues/40","id":94217163,"user":{"login":"trentmwillis","id":3526753,"avatar_url":"https://avatars.githubusercontent.com/u/3526753?v=3","gravatar_id":"","url":"https://api.github.com/users/trentmwillis","html_url":"https://github.com/trentmwillis","followers_url":"https://api.github.com/users/trentmwillis/followers","following_url":"https://api.github.com/users/trentmwillis/following{/other_user}","gists_url":"https://api.github.com/users/trentmwillis/gists{/gist_id}","starred_url":"https://api.github.com/users/trentmwillis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trentmwillis/subscriptions","organizations_url":"https://api.github.com/users/trentmwillis/orgs","repos_url":"https://api.github.com/users/trentmwillis/repos","events_url":"https://api.github.com/users/trentmwillis/events{/privacy}","received_events_url":"https://api.github.com/users/trentmwillis/received_events","type":"User","site_admin":false},"created_at":"2015-04-19T00:52:08Z","updated_at":"2015-04-19T00:52:08Z","body":"Recording this for posterity's sake: seems that having `ComponentCssPreprocessor` causes the `production` build to include all JS files in the `bower_components` directory; it fails out on one of those files. Looking into ways to fix this now."}}