{"action":"created","issue":{"url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/40","labels_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/40/comments","events_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/40/events","html_url":"https://github.com/ampedandwired/html-webpack-plugin/issues/40","id":77247903,"number":40,"title":"\"templateContent\" & Handlebars — Blueimp works simultaneously and parses {% %}","user":{"login":"stas-webwork","id":8937545,"avatar_url":"https://avatars.githubusercontent.com/u/8937545?v=3","gravatar_id":"","url":"https://api.github.com/users/stas-webwork","html_url":"https://github.com/stas-webwork","followers_url":"https://api.github.com/users/stas-webwork/followers","following_url":"https://api.github.com/users/stas-webwork/following{/other_user}","gists_url":"https://api.github.com/users/stas-webwork/gists{/gist_id}","starred_url":"https://api.github.com/users/stas-webwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stas-webwork/subscriptions","organizations_url":"https://api.github.com/users/stas-webwork/orgs","repos_url":"https://api.github.com/users/stas-webwork/repos","events_url":"https://api.github.com/users/stas-webwork/events{/privacy}","received_events_url":"https://api.github.com/users/stas-webwork/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-17T07:54:01Z","updated_at":"2015-05-18T13:21:57Z","closed_at":null,"body":"webpack.config.js [plugins]:\r\n```javascript\r\nnew HtmlWebpackPlugin({\r\n\ttemplateContent: function(templateParams, webpackCompiler) {\r\n\t\tvar hbs = require(path.resolve('./app/src/index.hbs'));\r\n\t\treturn hbs(templateParams);\r\n\t}\r\n})\r\n```"},"comment":{"url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/comments/103056507","html_url":"https://github.com/ampedandwired/html-webpack-plugin/issues/40#issuecomment-103056507","issue_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/40","id":103056507,"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},"created_at":"2015-05-18T13:21:57Z","updated_at":"2015-05-18T13:21:57Z","body":"The webpack.config.js code is not executed in webpack context but in node context.\r\nBecause of that it's not possible to use webpack loaders for now.\r\n\r\nThere is work in progress for one of the future releases."}}