{"action":"created","issue":{"url":"https://api.github.com/repos/zimmo-be/twig-loader/issues/3","labels_url":"https://api.github.com/repos/zimmo-be/twig-loader/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/zimmo-be/twig-loader/issues/3/comments","events_url":"https://api.github.com/repos/zimmo-be/twig-loader/issues/3/events","html_url":"https://github.com/zimmo-be/twig-loader/pull/3","id":125752813,"number":3,"title":"Fix issues with relative templates in includes and incorrect id","user":{"login":"dane-harnett","id":2585257,"avatar_url":"https://avatars.githubusercontent.com/u/2585257?v=3","gravatar_id":"","url":"https://api.github.com/users/dane-harnett","html_url":"https://github.com/dane-harnett","followers_url":"https://api.github.com/users/dane-harnett/followers","following_url":"https://api.github.com/users/dane-harnett/following{/other_user}","gists_url":"https://api.github.com/users/dane-harnett/gists{/gist_id}","starred_url":"https://api.github.com/users/dane-harnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dane-harnett/subscriptions","organizations_url":"https://api.github.com/users/dane-harnett/orgs","repos_url":"https://api.github.com/users/dane-harnett/repos","events_url":"https://api.github.com/users/dane-harnett/events{/privacy}","received_events_url":"https://api.github.com/users/dane-harnett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-09T11:02:29Z","updated_at":"2016-01-16T20:35:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zimmo-be/twig-loader/pulls/3","html_url":"https://github.com/zimmo-be/twig-loader/pull/3","diff_url":"https://github.com/zimmo-be/twig-loader/pull/3.diff","patch_url":"https://github.com/zimmo-be/twig-loader/pull/3.patch"},"body":"After trying to use this in a non-trivial way in our rather complex app I found some issues with the include support.\r\n\r\nMainly around relative templates and the ID references that templates are stored within twig."},"comment":{"url":"https://api.github.com/repos/zimmo-be/twig-loader/issues/comments/172256334","html_url":"https://github.com/zimmo-be/twig-loader/pull/3#issuecomment-172256334","issue_url":"https://api.github.com/repos/zimmo-be/twig-loader/issues/3","id":172256334,"user":{"login":"webberig","id":3446164,"avatar_url":"https://avatars.githubusercontent.com/u/3446164?v=3","gravatar_id":"","url":"https://api.github.com/users/webberig","html_url":"https://github.com/webberig","followers_url":"https://api.github.com/users/webberig/followers","following_url":"https://api.github.com/users/webberig/following{/other_user}","gists_url":"https://api.github.com/users/webberig/gists{/gist_id}","starred_url":"https://api.github.com/users/webberig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webberig/subscriptions","organizations_url":"https://api.github.com/users/webberig/orgs","repos_url":"https://api.github.com/users/webberig/repos","events_url":"https://api.github.com/users/webberig/events{/privacy}","received_events_url":"https://api.github.com/users/webberig/received_events","type":"User","site_admin":false},"created_at":"2016-01-16T20:35:51Z","updated_at":"2016-01-16T20:35:51Z","body":"This could help:\r\nhttp://webpack.github.io/docs/how-to-write-a-loader.html#should-not-embed-absolute-paths"}}