{"action":"created","issue":{"url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/41","labels_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/41/comments","events_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/41/events","html_url":"https://github.com/ampedandwired/html-webpack-plugin/pull/41","id":77659436,"number":41,"title":"Feature/loaders","user":{"login":"jantimon","id":4113649,"avatar_url":"https://avatars.githubusercontent.com/u/4113649?v=3","gravatar_id":"","url":"https://api.github.com/users/jantimon","html_url":"https://github.com/jantimon","followers_url":"https://api.github.com/users/jantimon/followers","following_url":"https://api.github.com/users/jantimon/following{/other_user}","gists_url":"https://api.github.com/users/jantimon/gists{/gist_id}","starred_url":"https://api.github.com/users/jantimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jantimon/subscriptions","organizations_url":"https://api.github.com/users/jantimon/orgs","repos_url":"https://api.github.com/users/jantimon/repos","events_url":"https://api.github.com/users/jantimon/events{/privacy}","received_events_url":"https://api.github.com/users/jantimon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":61,"created_at":"2015-05-18T13:37:28Z","updated_at":"2015-10-18T17:21:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/pulls/41","html_url":"https://github.com/ampedandwired/html-webpack-plugin/pull/41","diff_url":"https://github.com/ampedandwired/html-webpack-plugin/pull/41.diff","patch_url":"https://github.com/ampedandwired/html-webpack-plugin/pull/41.patch"},"body":"This rather big pull request will allow to use loaders #10 :\r\n\r\n```js\r\nplugins: [\r\n    new HtmlWebpackPlugin({\r\n      template: 'html!./index.html'\r\n    })\r\n  ]\r\n```\r\n\r\nFurther changes to get this working:\r\n\r\n* It will remove the deprecated `templateParams.htmlWebpackPlugin.assets`.\r\n* It will also remove the `templateContent` feature. (Maybe we can fix this)\r\n* It adds an [examples](https://github.com/ampedandwired/html-webpack-plugin/tree/feature/loaders/examples) - for easier issue debugging and for people to try the plugin\r\n* It sets `inject` to `true` by default\r\n\r\nThis merge request is work in progress and will need some more testing and cleanup."},"comment":{"url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/comments/149031663","html_url":"https://github.com/ampedandwired/html-webpack-plugin/pull/41#issuecomment-149031663","issue_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/41","id":149031663,"user":{"login":"SimenB","id":1404810,"avatar_url":"https://avatars.githubusercontent.com/u/1404810?v=3","gravatar_id":"","url":"https://api.github.com/users/SimenB","html_url":"https://github.com/SimenB","followers_url":"https://api.github.com/users/SimenB/followers","following_url":"https://api.github.com/users/SimenB/following{/other_user}","gists_url":"https://api.github.com/users/SimenB/gists{/gist_id}","starred_url":"https://api.github.com/users/SimenB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimenB/subscriptions","organizations_url":"https://api.github.com/users/SimenB/orgs","repos_url":"https://api.github.com/users/SimenB/repos","events_url":"https://api.github.com/users/SimenB/events{/privacy}","received_events_url":"https://api.github.com/users/SimenB/received_events","type":"User","site_admin":false},"created_at":"2015-10-18T17:21:48Z","updated_at":"2015-10-18T17:21:48Z","body":"Are you supposed to be able to require from a template? Can you do that with JS now? Like just chuck a `require('modernizr')` in `head` to avoid repaints?"}}