{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/22","repository_url":"https://api.github.com/repos/driftyco/ionic-app-scripts","labels_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/22/comments","events_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/22/events","html_url":"https://github.com/driftyco/ionic-app-scripts/issues/22","id":179040647,"number":22,"title":"rollup resolved templateURL for --dev builds with non-standard src path","user":{"login":"strictd","id":22277184,"avatar_url":"https://avatars.githubusercontent.com/u/22277184?v=3","gravatar_id":"","url":"https://api.github.com/users/strictd","html_url":"https://github.com/strictd","followers_url":"https://api.github.com/users/strictd/followers","following_url":"https://api.github.com/users/strictd/following{/other_user}","gists_url":"https://api.github.com/users/strictd/gists{/gist_id}","starred_url":"https://api.github.com/users/strictd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strictd/subscriptions","organizations_url":"https://api.github.com/users/strictd/orgs","repos_url":"https://api.github.com/users/strictd/repos","events_url":"https://api.github.com/users/strictd/events{/privacy}","received_events_url":"https://api.github.com/users/strictd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/labels/needs_reply","name":"needs_reply","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"jgw96","id":8823093,"avatar_url":"https://avatars.githubusercontent.com/u/8823093?v=3","gravatar_id":"","url":"https://api.github.com/users/jgw96","html_url":"https://github.com/jgw96","followers_url":"https://api.github.com/users/jgw96/followers","following_url":"https://api.github.com/users/jgw96/following{/other_user}","gists_url":"https://api.github.com/users/jgw96/gists{/gist_id}","starred_url":"https://api.github.com/users/jgw96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgw96/subscriptions","organizations_url":"https://api.github.com/users/jgw96/orgs","repos_url":"https://api.github.com/users/jgw96/repos","events_url":"https://api.github.com/users/jgw96/events{/privacy}","received_events_url":"https://api.github.com/users/jgw96/received_events","type":"User","site_admin":false},"assignees":[{"login":"jgw96","id":8823093,"avatar_url":"https://avatars.githubusercontent.com/u/8823093?v=3","gravatar_id":"","url":"https://api.github.com/users/jgw96","html_url":"https://github.com/jgw96","followers_url":"https://api.github.com/users/jgw96/followers","following_url":"https://api.github.com/users/jgw96/following{/other_user}","gists_url":"https://api.github.com/users/jgw96/gists{/gist_id}","starred_url":"https://api.github.com/users/jgw96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgw96/subscriptions","organizations_url":"https://api.github.com/users/jgw96/orgs","repos_url":"https://api.github.com/users/jgw96/repos","events_url":"https://api.github.com/users/jgw96/events{/privacy}","received_events_url":"https://api.github.com/users/jgw96/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-09-24T17:09:33Z","updated_at":"2016-10-04T01:26:16Z","closed_at":null,"body":"first my ionic src path has changed from src/app to src/mobile/app, src/pages to src/mobile/pages, etc..\r\n\r\nusing the relative path of\r\n```typescript\r\n@Component({\r\n  templateUrl: './about.html'\r\n})\r\n```\r\nworks on `ionic-app-scripts build`,\r\ndoes not work on `ionic-app-scripts build --dev` \r\nwhich produces and error of\r\n\r\n```\r\nError reading template file, \"./about.html\": Error: ENOENT: no such file or directory, open '/Users/StrictDev/Documents/update/starter/src/pages/about/about.html'\r\n```\r\n\r\nwhen I use the templateUrl relative like\r\n```typescript\r\n@Component({\r\n  templateUrl: '../../../src/mobile/pages/about/about.html'\r\n})\r\n```\r\nthis templateURL works on both prod and dev ionic-app-scripts builds\r\n\r\nhttps://github.com/strictd/angular2-ionic2-webpack to use as a demo. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/comments/251272720","html_url":"https://github.com/driftyco/ionic-app-scripts/issues/22#issuecomment-251272720","issue_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/22","id":251272720,"user":{"login":"strictd","id":22277184,"avatar_url":"https://avatars.githubusercontent.com/u/22277184?v=3","gravatar_id":"","url":"https://api.github.com/users/strictd","html_url":"https://github.com/strictd","followers_url":"https://api.github.com/users/strictd/followers","following_url":"https://api.github.com/users/strictd/following{/other_user}","gists_url":"https://api.github.com/users/strictd/gists{/gist_id}","starred_url":"https://api.github.com/users/strictd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strictd/subscriptions","organizations_url":"https://api.github.com/users/strictd/orgs","repos_url":"https://api.github.com/users/strictd/repos","events_url":"https://api.github.com/users/strictd/events{/privacy}","received_events_url":"https://api.github.com/users/strictd/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T01:26:15Z","updated_at":"2016-10-04T01:26:15Z","body":"same issue. i've updated to @2.0.0-rc.0 and @latest both produce the same results\r\n\r\n```\r\n[18:23:58]  bundle dev started ...\r\nError reading template file, \"tabs.html\": Error: ENOENT: no such file or directory, open '/Users/StrictDev/Documents/update/starter/src/pages/tabs/tabs.html'\r\nError reading template file, \"home.html\": Error: ENOENT: no such file or directory, open '/Users/StrictDev/Documents/update/starter/src/pages/home/home.html'\r\nError reading template file, \"about.html\": Error: ENOENT: no such file or directory, open '/Users/StrictDev/Documents/update/starter/src/pages/about/about.html'\r\nError reading template file, \"contact.html\": Error: ENOENT: no such file or directory, open '/Users/StrictDev/Documents/update/starter/src/pages/contact/contact.html'\r\n[18:24:06]  bundle dev finished in 7.63 s\r\n```\r\n\r\nThe path should be, /Users/StrictDev/Documents/update/starter/src/mobile/pages/tabs/tabs.html"}}
{"actor":{"display_login":"strictd"}}