{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vuepress/issues/942","repository_url":"https://api.github.com/repos/vuejs/vuepress","labels_url":"https://api.github.com/repos/vuejs/vuepress/issues/942/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vuepress/issues/942/comments","events_url":"https://api.github.com/repos/vuejs/vuepress/issues/942/events","html_url":"https://github.com/vuejs/vuepress/issues/942","id":371169893,"node_id":"MDU6SXNzdWUzNzExNjk4OTM=","number":942,"title":"The index.js within themes is ignored during the build process","user":{"login":"SebastianNiemann","id":5516578,"node_id":"MDQ6VXNlcjU1MTY1Nzg=","avatar_url":"https://avatars3.githubusercontent.com/u/5516578?v=4","gravatar_id":"","url":"https://api.github.com/users/SebastianNiemann","html_url":"https://github.com/SebastianNiemann","followers_url":"https://api.github.com/users/SebastianNiemann/followers","following_url":"https://api.github.com/users/SebastianNiemann/following{/other_user}","gists_url":"https://api.github.com/users/SebastianNiemann/gists{/gist_id}","starred_url":"https://api.github.com/users/SebastianNiemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SebastianNiemann/subscriptions","organizations_url":"https://api.github.com/users/SebastianNiemann/orgs","repos_url":"https://api.github.com/users/SebastianNiemann/repos","events_url":"https://api.github.com/users/SebastianNiemann/events{/privacy}","received_events_url":"https://api.github.com/users/SebastianNiemann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-17T16:46:15Z","updated_at":"2018-10-17T19:38:19Z","closed_at":null,"author_association":"NONE","body":"## Bug report\r\n\r\n#### Version\r\n\r\n1.0.0-alpha.12\r\n\r\n#### Steps to reproduce\r\n\r\nAdd the following `index.js` to a theme:\r\n\r\n```\r\nprocess.exit(1);\r\n\r\n```\r\n\r\n#### What is expected?\r\n\r\nThe built process should fail with exit code 1, proving that `index.js` was called.\r\n\r\n#### What is actually happening?\r\n\r\nThe built process is successful, fully ignoring the `index.js` and therefore any options within it (esp. `plugins`).\r\n\r\n#### Other relevant information\r\n\r\nCompared to #928, the theme is included by simply stating its file path, instead of a dependency package\r\n"},"comment":{"url":"https://api.github.com/repos/vuejs/vuepress/issues/comments/430760858","html_url":"https://github.com/vuejs/vuepress/issues/942#issuecomment-430760858","issue_url":"https://api.github.com/repos/vuejs/vuepress/issues/942","id":430760858,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDc2MDg1OA==","user":{"login":"ulivz","id":23133919,"node_id":"MDQ6VXNlcjIzMTMzOTE5","avatar_url":"https://avatars1.githubusercontent.com/u/23133919?v=4","gravatar_id":"","url":"https://api.github.com/users/ulivz","html_url":"https://github.com/ulivz","followers_url":"https://api.github.com/users/ulivz/followers","following_url":"https://api.github.com/users/ulivz/following{/other_user}","gists_url":"https://api.github.com/users/ulivz/gists{/gist_id}","starred_url":"https://api.github.com/users/ulivz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulivz/subscriptions","organizations_url":"https://api.github.com/users/ulivz/orgs","repos_url":"https://api.github.com/users/ulivz/repos","events_url":"https://api.github.com/users/ulivz/events{/privacy}","received_events_url":"https://api.github.com/users/ulivz/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T19:38:19Z","updated_at":"2018-10-17T19:38:19Z","author_association":"MEMBER","body":"Cannot reproduce it, could you provide more info?"}}
{"actor":{"display_login":"ulivz"}}