{"action":"created","issue":{"url":"https://api.github.com/repos/zeit/next.js/issues/936","repository_url":"https://api.github.com/repos/zeit/next.js","labels_url":"https://api.github.com/repos/zeit/next.js/issues/936/labels{/name}","comments_url":"https://api.github.com/repos/zeit/next.js/issues/936/comments","events_url":"https://api.github.com/repos/zeit/next.js/issues/936/events","html_url":"https://github.com/zeit/next.js/pull/936","id":204081749,"number":936,"title":"Add configuration to specify the name of the `pages` directory.","user":{"login":"gcpantazis","id":1161192,"avatar_url":"https://avatars2.githubusercontent.com/u/1161192?v=3","gravatar_id":"","url":"https://api.github.com/users/gcpantazis","html_url":"https://github.com/gcpantazis","followers_url":"https://api.github.com/users/gcpantazis/followers","following_url":"https://api.github.com/users/gcpantazis/following{/other_user}","gists_url":"https://api.github.com/users/gcpantazis/gists{/gist_id}","starred_url":"https://api.github.com/users/gcpantazis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcpantazis/subscriptions","organizations_url":"https://api.github.com/users/gcpantazis/orgs","repos_url":"https://api.github.com/users/gcpantazis/repos","events_url":"https://api.github.com/users/gcpantazis/events{/privacy}","received_events_url":"https://api.github.com/users/gcpantazis/received_events","type":"User","site_admin":false},"labels":[{"id":483950609,"url":"https://api.github.com/repos/zeit/next.js/labels/Status:%20Ready","name":"Status: Ready","color":"a1ffd9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/zeit/next.js/milestones/2","html_url":"https://github.com/zeit/next.js/milestone/2","labels_url":"https://api.github.com/repos/zeit/next.js/milestones/2/labels","id":2241981,"number":2,"title":"2.1","description":"","creator":{"login":"rauchg","id":13041,"avatar_url":"https://avatars3.githubusercontent.com/u/13041?v=3","gravatar_id":"","url":"https://api.github.com/users/rauchg","html_url":"https://github.com/rauchg","followers_url":"https://api.github.com/users/rauchg/followers","following_url":"https://api.github.com/users/rauchg/following{/other_user}","gists_url":"https://api.github.com/users/rauchg/gists{/gist_id}","starred_url":"https://api.github.com/users/rauchg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rauchg/subscriptions","organizations_url":"https://api.github.com/users/rauchg/orgs","repos_url":"https://api.github.com/users/rauchg/repos","events_url":"https://api.github.com/users/rauchg/events{/privacy}","received_events_url":"https://api.github.com/users/rauchg/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":11,"state":"open","created_at":"2017-01-10T20:54:15Z","updated_at":"2017-05-27T15:40:15Z","due_on":null,"closed_at":null},"comments":28,"created_at":"2017-01-30T17:47:44Z","updated_at":"2017-05-28T13:55:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zeit/next.js/pulls/936","html_url":"https://github.com/zeit/next.js/pull/936","diff_url":"https://github.com/zeit/next.js/pull/936.diff","patch_url":"https://github.com/zeit/next.js/pull/936.patch"},"body":"Being able to customize the name of the `pages` directory was brought up in #914, and this PR makes that possible by adding configuration in `next.config.js`.\r\n\r\nIt does bring up the possible need of a refactor for how configuration is disseminated to the server code, as it's becoming very repetitive to have to call `getConfig(dir)` every place we need access to the settings (and this commit seems to be propagating that convention more than ever).\r\n\r\nSo, open for consideration! Happy to continue to work on this, but as @nkzawa mentioned it needs discussion.\r\n\r\ncc/ @arunoda @rauchg @timneutkens from the relevant conversation in #914 :handshake:  "},"comment":{"url":"https://api.github.com/repos/zeit/next.js/issues/comments/304516796","html_url":"https://github.com/zeit/next.js/pull/936#issuecomment-304516796","issue_url":"https://api.github.com/repos/zeit/next.js/issues/936","id":304516796,"user":{"login":"kunokdev","id":13220754,"avatar_url":"https://avatars3.githubusercontent.com/u/13220754?v=3","gravatar_id":"","url":"https://api.github.com/users/kunokdev","html_url":"https://github.com/kunokdev","followers_url":"https://api.github.com/users/kunokdev/followers","following_url":"https://api.github.com/users/kunokdev/following{/other_user}","gists_url":"https://api.github.com/users/kunokdev/gists{/gist_id}","starred_url":"https://api.github.com/users/kunokdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunokdev/subscriptions","organizations_url":"https://api.github.com/users/kunokdev/orgs","repos_url":"https://api.github.com/users/kunokdev/repos","events_url":"https://api.github.com/users/kunokdev/events{/privacy}","received_events_url":"https://api.github.com/users/kunokdev/received_events","type":"User","site_admin":false},"created_at":"2017-05-28T13:55:28Z","updated_at":"2017-05-28T13:55:28Z","body":"When will this be available ?"}}
{"actor":{"display_login":"kunokdev"}}