{"action":"created","issue":{"url":"https://api.github.com/repos/rblopes/my-phaser-template/issues/1","labels_url":"https://api.github.com/repos/rblopes/my-phaser-template/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/rblopes/my-phaser-template/issues/1/comments","events_url":"https://api.github.com/repos/rblopes/my-phaser-template/issues/1/events","html_url":"https://github.com/rblopes/my-phaser-template/issues/1","id":56745572,"number":1,"title":"Syntax error in game.js","user":{"login":"dfyx","id":458055,"avatar_url":"https://avatars.githubusercontent.com/u/458055?v=3","gravatar_id":"","url":"https://api.github.com/users/dfyx","html_url":"https://github.com/dfyx","followers_url":"https://api.github.com/users/dfyx/followers","following_url":"https://api.github.com/users/dfyx/following{/other_user}","gists_url":"https://api.github.com/users/dfyx/gists{/gist_id}","starred_url":"https://api.github.com/users/dfyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfyx/subscriptions","organizations_url":"https://api.github.com/users/dfyx/orgs","repos_url":"https://api.github.com/users/dfyx/repos","events_url":"https://api.github.com/users/dfyx/events{/privacy}","received_events_url":"https://api.github.com/users/dfyx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-05T23:17:43Z","updated_at":"2015-02-06T03:03:39Z","closed_at":null,"body":"I've just run your code with `npm start` and the produced `game.js` appears to contain a syntax error in line 5 (`define(\"app/objects/Preloader\"`).\r\n\r\nOpera complains about `Uncaught SyntaxError: Unexpected token {` while Firefox says `SyntaxError: missing ; before statement`. Sadly, both don't tell me the exact position of the syntax error."},"comment":{"url":"https://api.github.com/repos/rblopes/my-phaser-template/issues/comments/73175731","html_url":"https://github.com/rblopes/my-phaser-template/issues/1#issuecomment-73175731","issue_url":"https://api.github.com/repos/rblopes/my-phaser-template/issues/1","id":73175731,"user":{"login":"rblopes","id":61425,"avatar_url":"https://avatars.githubusercontent.com/u/61425?v=3","gravatar_id":"","url":"https://api.github.com/users/rblopes","html_url":"https://github.com/rblopes","followers_url":"https://api.github.com/users/rblopes/followers","following_url":"https://api.github.com/users/rblopes/following{/other_user}","gists_url":"https://api.github.com/users/rblopes/gists{/gist_id}","starred_url":"https://api.github.com/users/rblopes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rblopes/subscriptions","organizations_url":"https://api.github.com/users/rblopes/orgs","repos_url":"https://api.github.com/users/rblopes/repos","events_url":"https://api.github.com/users/rblopes/events{/privacy}","received_events_url":"https://api.github.com/users/rblopes/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T03:03:39Z","updated_at":"2015-02-06T03:03:39Z","body":"Not quite a 6to5 issue, but seems like recent versions changed how output code is formatted when using the `compact` option, maybe that's broken, I don't know…\r\n\r\nSo try removing the `compact: true` line under `project-config.json`. I reproduced your issue here, and that solved the problem."}}