{"action":"created","issue":{"url":"https://api.github.com/repos/egoist/vbuild/issues/72","repository_url":"https://api.github.com/repos/egoist/vbuild","labels_url":"https://api.github.com/repos/egoist/vbuild/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/egoist/vbuild/issues/72/comments","events_url":"https://api.github.com/repos/egoist/vbuild/issues/72/events","html_url":"https://github.com/egoist/vbuild/issues/72","id":194558185,"number":72,"title":"Dist option seems flaky.","user":{"login":"qur2","id":143227,"avatar_url":"https://avatars.githubusercontent.com/u/143227?v=3","gravatar_id":"","url":"https://api.github.com/users/qur2","html_url":"https://github.com/qur2","followers_url":"https://api.github.com/users/qur2/followers","following_url":"https://api.github.com/users/qur2/following{/other_user}","gists_url":"https://api.github.com/users/qur2/gists{/gist_id}","starred_url":"https://api.github.com/users/qur2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qur2/subscriptions","organizations_url":"https://api.github.com/users/qur2/orgs","repos_url":"https://api.github.com/users/qur2/repos","events_url":"https://api.github.com/users/qur2/events{/privacy}","received_events_url":"https://api.github.com/users/qur2/received_events","type":"User","site_admin":false},"labels":[{"id":497610070,"url":"https://api.github.com/repos/egoist/vbuild/labels/need%20repro","name":"need repro","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-09T10:10:31Z","updated_at":"2016-12-10T16:35:45Z","closed_at":null,"body":"Changing the dist target does not work. In my `vbuild` config, I set the `dist` option to something like:\r\n```\r\ndist: path.join(__dirname, 'dist', 'sub-folder'),\r\n```\r\n\r\nThen, the html index file that is generated has a hardcoded payload like this:\r\n```\r\n<html><head></head><body><pre style=\"word-wrap: break-word; white-space: pre-wrap;\">{\"statusCode\":404,\"error\":\"Not Found\"}</pre></body></html>\r\n```\r\n\r\nAny hint? I'm looking at that and will report back any finding I make."},"comment":{"url":"https://api.github.com/repos/egoist/vbuild/issues/comments/266220732","html_url":"https://github.com/egoist/vbuild/issues/72#issuecomment-266220732","issue_url":"https://api.github.com/repos/egoist/vbuild/issues/72","id":266220732,"user":{"login":"qur2","id":143227,"avatar_url":"https://avatars.githubusercontent.com/u/143227?v=3","gravatar_id":"","url":"https://api.github.com/users/qur2","html_url":"https://github.com/qur2","followers_url":"https://api.github.com/users/qur2/followers","following_url":"https://api.github.com/users/qur2/following{/other_user}","gists_url":"https://api.github.com/users/qur2/gists{/gist_id}","starred_url":"https://api.github.com/users/qur2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qur2/subscriptions","organizations_url":"https://api.github.com/users/qur2/orgs","repos_url":"https://api.github.com/users/qur2/repos","events_url":"https://api.github.com/users/qur2/events{/privacy}","received_events_url":"https://api.github.com/users/qur2/received_events","type":"User","site_admin":false},"created_at":"2016-12-10T16:35:45Z","updated_at":"2016-12-10T16:35:45Z","body":"Hi,\r\n\r\nI don't have a repo at hand (the problematic stuff is company material). However, I found that the file is there, it's just that there is this \"empty\" index file in `dist/`. in `dist/sub-folder`, I find the index I expect. Then, it's a matter of configuring the `publicPath` correctly.\r\n\r\nSo if the root `index.html` is fine for you, I suppose this issue can be closed. Sorry for the noise and thanks for your fast response. Also thanks for your good work, keep it up!"}}
{"actor":{"display_login":"qur2"}}