{"action":"created","issue":{"url":"https://api.github.com/repos/AlexTatiyants/pev/issues/16","repository_url":"https://api.github.com/repos/AlexTatiyants/pev","labels_url":"https://api.github.com/repos/AlexTatiyants/pev/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/AlexTatiyants/pev/issues/16/comments","events_url":"https://api.github.com/repos/AlexTatiyants/pev/issues/16/events","html_url":"https://github.com/AlexTatiyants/pev/issues/16","id":143539433,"number":16,"title":"Gulp build issues","user":{"login":"seanlinsley","id":688886,"avatar_url":"https://avatars.githubusercontent.com/u/688886?v=3","gravatar_id":"","url":"https://api.github.com/users/seanlinsley","html_url":"https://github.com/seanlinsley","followers_url":"https://api.github.com/users/seanlinsley/followers","following_url":"https://api.github.com/users/seanlinsley/following{/other_user}","gists_url":"https://api.github.com/users/seanlinsley/gists{/gist_id}","starred_url":"https://api.github.com/users/seanlinsley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanlinsley/subscriptions","organizations_url":"https://api.github.com/users/seanlinsley/orgs","repos_url":"https://api.github.com/users/seanlinsley/repos","events_url":"https://api.github.com/users/seanlinsley/events{/privacy}","received_events_url":"https://api.github.com/users/seanlinsley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-25T16:47:30Z","updated_at":"2016-03-25T16:55:55Z","closed_at":null,"body":"Hi there, I'm trying to bundle this project into pghero: https://github.com/ankane/pghero/issues/43.\r\n\r\nUnfortunately, I haven't used Node apps very much :sweat_smile: \r\n\r\nWhen running `npm run gulp -- build.prod`, `dist/dev` is built. It looks like I could copy that directory and include it into pghero, except that the paths that `index.html` is looking up files from are incorrect. This is what it has:\r\n```html\r\n<script src=\"/node_modules/es6-shim/es6-shim.min.js\"></script>\r\n```\r\nWhile your demo page has script tags that load from the correct relative path:\r\n```html\r\n<script src=\"lib/es6-shim.min.js\"></script>\r\n```\r\n\r\nAny idea why that's happening?\r\n\r\nAnother issue: there are a large number of unminified JS files in `dist/dev/lib`. If I can figure out the necessary code to minify and concatenate them, would that be a change you're open to?"},"comment":{"url":"https://api.github.com/repos/AlexTatiyants/pev/issues/comments/201362347","html_url":"https://github.com/AlexTatiyants/pev/issues/16#issuecomment-201362347","issue_url":"https://api.github.com/repos/AlexTatiyants/pev/issues/16","id":201362347,"user":{"login":"seanlinsley","id":688886,"avatar_url":"https://avatars.githubusercontent.com/u/688886?v=3","gravatar_id":"","url":"https://api.github.com/users/seanlinsley","html_url":"https://github.com/seanlinsley","followers_url":"https://api.github.com/users/seanlinsley/followers","following_url":"https://api.github.com/users/seanlinsley/following{/other_user}","gists_url":"https://api.github.com/users/seanlinsley/gists{/gist_id}","starred_url":"https://api.github.com/users/seanlinsley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanlinsley/subscriptions","organizations_url":"https://api.github.com/users/seanlinsley/orgs","repos_url":"https://api.github.com/users/seanlinsley/repos","events_url":"https://api.github.com/users/seanlinsley/events{/privacy}","received_events_url":"https://api.github.com/users/seanlinsley/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T16:55:55Z","updated_at":"2016-03-25T16:55:55Z","body":"Looks like part of the problem is that `config.ts` sets `ENV` to `dev` even when running the `build.prod` task."}}