{"_id":"handlebars-template-loader","_rev":"29-8a4cacf9e28c63bba21c16a8bd0fece2","name":"handlebars-template-loader","dist-tags":{"latest":"1.1.0"},"versions":{"0.1.0":{"name":"handlebars-template-loader","version":"0.1.0","keywords":["handlebars","template","webpack","loader"],"author":{"name":"Emmanuel Antico","email":"emmanuel.antico@gmail.com"},"_id":"handlebars-template-loader@0.1.0","maintainers":[{"name":"emaphp","email":"emmanuel.antico@gmail.com"}],"homepage":"https://github.com/emaphp/handlebars-template-loader","bugs":{"url":"https://github.com/emaphp/handlebars-template-loader/issues"},"dist":{"shasum":"80366909caca91f347f62a668e28aab474d959aa","tarball":"https://registry.npmjs.org/handlebars-template-loader/-/handlebars-template-loader-0.1.0.tgz","integrity":"sha512-sH0kN7Mum6sJME0jso458+t62vZhIapbhnXKn1lTyt5RPyN0MldhhdeP3nxZVGJ7S1jhAnlTEjmSa3/hGHwa8w==","signatures":[{"sig":"MEYCIQC9s6HFZiwNvglEWeo8dcOkX3tONAP4EHm+eyJpm5IbvgIhAMQXhBBI+CUqkJLLFpnCBvT8nA7Uk0tMn3RCQ5ejqhTe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"80366909caca91f347f62a668e28aab474d959aa","gitHead":"95ddc5b4963f500c2b28d0eebcedbdd4644f9694","scripts":{},"_npmUser":{"name":"emaphp","email":"emmanuel.antico@gmail.com"},"repository":{"url":"https://github.com/emaphp/handlebars-template-loader.git","type":"git"},"_npmVersion":"1.4.28","description":"A Handlebars template loader for Webpack","directories":{},"dependencies":{"handlebars":"^2.0.0"}},"0.2.0":{"name":"handlebars-template-loader","version":"0.2.0","keywords":["handlebars","template","webpack","loader"],"author":{"name":"Emmanuel Antico","email":"emmanuel.antico@gmail.com"},"_id":"handlebars-template-loader@0.2.0","maintainers":[{"name":"emaphp","email":"emmanuel.antico@gmail.com"}],"homepage":"https://github.com/emaphp/handlebars-template-loader","bugs":{"url":"https://github.com/emaphp/handlebars-template-loader/issues"},"dist":{"shasum":"0d30dd8684f902563103648d8c751a4192cd44f8","tarball":"https://registry.npmjs.org/handlebars-template-loader/-/handlebars-template-loader-0.2.0.tgz","integrity":"sha512-fww7yOltW/ZvTrAxli6ToEkX/zRdCCb45zdMbWVuQISZwiSnAUFMWlPI1JveutTbeYxZnESQneDnDeumwv3f1A==","signatures":[{"sig":"MEUCIEVN7rJN9CpKpr+ASjwckZpRGsk0MT8uFEG9urjgvgW+AiEAgjra8KOnkT9P7xPul6uS3aGD44/5rzUyahuu1SsVd28=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"0d30dd8684f902563103648d8c751a4192cd44f8","gitHead":"cb462db95c566a6f456dc5f2912f588c0d2150f3","scripts":{},"_npmUser":{"name":"emaphp","email":"emmanuel.antico@gmail.com"},"repository":{"url":"https://github.com/emaphp/handlebars-template-loader.git","type":"git"},"_npmVersion":"1.4.28","description":"A Handlebars template loader for Webpack","directories":{},"dependencies":{"handlebars":"^2.0.0","loader-utils":"^0.2.5"}},"0.2.1":{"name":"handlebars-template-loader","version":"0.2.1","keywords":["handlebars","template","webpack","loader"],"author":{"name":"Emmanuel Antico","email":"emmanuel.antico@gmail.com"},"_id":"handlebars-template-loader@0.2.1","maintainers":[{"name":"emaphp","email":"emmanuel.antico@gmail.com"}],"homepage":"https://github.com/emaphp/handlebars-template-loader","bugs":{"url":"https://github.com/emaphp/handlebars-template-loader/issues"},"dist":{"shasum":"f5c7886ba60f7cc079c1fdbc04d9699c27b4e9c8","tarball":"https://registry.npmjs.org/handlebars-template-loader/-/handlebars-template-loader-0.2.1.tgz","integrity":"sha512-7jNWZ3u1X1dhX1gCXtdHu46nIDJoFwpobXKrTfB9d43eS8sazLMYbmwSW5UZYkfSUoU0Ym4s8LIWprOBOoDNQg==","signatures":[{"sig":"MEUCIQDI8KjECkXzpek1bVShYqcrAlHNlJtDHNNEHr8BHsG3KwIgQyxEkgvuHFHqSRwxh0G+FGZK4DEcruJD/nZlyHk9jk0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"f5c7886ba60f7cc079c1fdbc04d9699c27b4e9c8","gitHead":"d6fa4c407b7981aa56d3e215c472b0df2f31f1fb","scripts":{},"_npmUser":{"name":"emaphp","email":"emmanuel.antico@gmail.com"},"repository":{"url":"https://github.com/emaphp/handlebars-template-loader.git","type":"git"},"_npmVersion":"1.4.28","description":"A Handlebars template loader for Webpack","directories":{},"dependencies":{"loader-utils":"^0.2.5"},"peerDependencies":{"handlebars":"^2.0.0"}},"0.2.2":{"name":"handlebars-template-loader","version":"0.2.2","keywords":["handlebars","template","webpack","loader"],"author":{"name":"Emmanuel Antico","email":"emmanuel.antico@gmail.com"},"_id":"handlebars-template-loader@0.2.2","maintainers":[{"name":"emaphp","email":"emmanuel.antico@gmail.com"}],"homepage":"https://github.com/emaphp/handlebars-template-loader","bugs":{"url":"https://github.com/emaphp/handlebars-template-loader/issues"},"dist":{"shasum":"6590b79f27f3a518ae2d4d3aa0a231957905bafc","tarball":"https://registry.npmjs.org/handlebars-template-loader/-/handlebars-template-loader-0.2.2.tgz","integrity":"sha512-mzMHzcSAUeHLDjCQg8XKTsypgqyBRTkOIi+Wq0mdPA+O2K12naJj80Ok4wAs6F/2J77zA31cUExebopMfcLhfg==","signatures":[{"sig":"MEUCIQDiWednKv2zNvML7mC8+KzdDMxdDXtr2Rwhh+s64+9PqwIgDmOzm9zsl2GX1d1ltfLQz8bJpdTAe/6jmQhviGNTeIs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"6590b79f27f3a518ae2d4d3aa0a231957905bafc","gitHead":"6b283ec0f3cf9ee3292622c0d9e89c552247ce6e","scripts":{},"_npmUser":{"name":"emaphp","email":"emmanuel.antico@gmail.com"},"repository":{"url":"https://github.com/emaphp/handlebars-template-loader.git","type":"git"},"_npmVersion":"1.4.28","description":"A Handlebars template loader for Webpack","directories":{},"dependencies":{"loader-utils":"^0.2.5"},"peerDependencies":{"handlebars":"^2.0.0"}},"0.3.0":{"name":"handlebars-template-loader","version":"0.3.0","keywords":["handlebars","template","webpack","loader"],"author":{"name":"Emmanuel Antico","email":"emmanuel.antico@gmail.com"},"_id":"handlebars-template-loader@0.3.0","maintainers":[{"name":"emaphp","email":"emmanuel.antico@gmail.com"}],"homepage":"https://github.com/emaphp/handlebars-template-loader","bugs":{"url":"https://github.com/emaphp/handlebars-template-loader/issues"},"dist":{"shasum":"51fcf48cab3d20ceb4338c5244affec1d1ab6d43","tarball":"https://registry.npmjs.org/handlebars-template-loader/-/handlebars-template-loader-0.3.0.tgz","integrity":"sha512-v7ESnbcx+9W8+GKX3iqQ4M2rvBYFOUsFg8/PRJH/BRQvCgj3YKNC+WBOIM719pROeLL0e+a5cxRCRid8ROMgyg==","signatures":[{"sig":"MEYCIQDm/gCfoFZFMMDS7p2mP0yMR+EqCJf8oVnc3ttlkYF0ZgIhAOFhkq/kSoqx8YN+w0W3+aI9O9NG7pkI0VCR4oEXCmkx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"51fcf48cab3d20ceb4338c5244affec1d1ab6d43","gitHead":"be770d2682fdb4ab66be56f519078471b492d99c","scripts":{},"_npmUser":{"name":"emaphp","email":"emmanuel.antico@gmail.com"},"repository":{"url":"https://github.com/emaphp/handlebars-template-loader.git","type":"git"},"_npmVersion":"1.4.28","description":"A Handlebars template loader for Webpack","directories":{},"dependencies":{"loader-utils":"^0.2.10"},"peerDependencies":{"handlebars":"^3.0.3"}},"0.5.0":{"name":"handlebars-template-loader","version":"0.5.0","keywords":["handlebars","template","webpack","loader"],"author":{"name":"Emmanuel Antico","email":"emmanuel.antico@gmail.com"},"_id":"handlebars-template-loader@0.5.0","maintainers":[{"name":"emaphp","email":"emmanuel.antico@gmail.com"}],"homepage":"https://github.com/emaphp/handlebars-template-loader","bugs":{"url":"https://github.com/emaphp/handlebars-template-loader/issues"},"dist":{"shasum":"85a127454df4c4ea9ac86e1e04c09d6ab266ce7d","tarball":"https://registry.npmjs.org/handlebars-template-loader/-/handlebars-template-loader-0.5.0.tgz","integrity":"sha512-vV3COhjp1qOddybXUFTShsK/bHJw/uzVX3CPdRgjSu6R0QdWQm8iF7GPtIknwt6+sgoWhWI1K6nb1G8X0mxXfA==","signatures":[{"sig":"MEQCIHRZDzkGnD6KgihPUurEAJcTfNsIFYIcEqNg1uGLeVSDAiAeuun95NOqVxL+6pinBb7/q4HlDRm55dbJiq+q4aef/g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"85a127454df4c4ea9ac86e1e04c09d6ab266ce7d","gitHead":"9cf6da12ffd7fd5dc86864ee83e63efee4292c79","scripts":{},"_npmUser":{"name":"emaphp","email":"emmanuel.antico@gmail.com"},"repository":{"url":"git+https://github.com/emaphp/handlebars-template-loader.git","type":"git"},"_npmVersion":"2.12.1","description":"A Handlebars template loader for Webpack","directories":{},"_nodeVersion":"0.10.37","dependencies":{"fastparse":"^1.1.1","loader-utils":"^0.2.11"},"peerDependencies":{"handlebars":"^3.0.3"}},"0.5.1":{"name":"handlebars-template-loader","version":"0.5.1","keywords":["handlebars","template","webpack","loader"],"author":{"name":"Emmanuel Antico","email":"emmanuel.antico@gmail.com"},"_id":"handlebars-template-loader@0.5.1","maintainers":[{"name":"emaphp","email":"emmanuel.antico@gmail.com"}],"homepage":"https://github.com/emaphp/handlebars-template-loader","bugs":{"url":"https://github.com/emaphp/handlebars-template-loader/issues"},"dist":{"shasum":"997e84924e1cad43ef7b821f4b4406a9d182f421","tarball":"https://registry.npmjs.org/handlebars-template-loader/-/handlebars-template-loader-0.5.1.tgz","integrity":"sha512-nMA+iXjD+zU4LE1mDU3qtKM16MT+XcVIipEzqSjuHI3cf52X21bfDLTphEjEkYVN77lpnoC0/ABS0+pkleGxyQ==","signatures":[{"sig":"MEYCIQCbf8kKlxYpS5YNxHauzMqPimJ4KI/7o8MCzIwRJB5tQQIhAP87YEi0pRY4JX0/0ZZeUtXhyH2SP07eop8FInr83G0P","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"997e84924e1cad43ef7b821f4b4406a9d182f421","gitHead":"0300f247dc5fbd8d3400cc296dfa0a36a95a12e0","scripts":{},"_npmUser":{"name":"emaphp","email":"emmanuel.antico@gmail.com"},"repository":{"url":"git+https://github.com/emaphp/handlebars-template-loader.git","type":"git"},"_npmVersion":"2.12.1","description":"A Handlebars template loader for Webpack","directories":{},"_nodeVersion":"0.10.37","dependencies":{"fastparse":"^1.1.1","loader-utils":"^0.2.11"},"peerDependencies":{"handlebars":"^3.0.3"}},"0.5.2":{"name":"handlebars-template-loader","version":"0.5.2","keywords":["handlebars","template","webpack","loader"],"author":{"name":"Emmanuel Antico","email":"emmanuel.antico@gmail.com"},"_id":"handlebars-template-loader@0.5.2","maintainers":[{"name":"emaphp","email":"emmanuel.antico@gmail.com"}],"contributors":[{"url":"JSteunou","name":"Jérôme Steunou"}],"homepage":"https://github.com/emaphp/handlebars-template-loader","bugs":{"url":"https://github.com/emaphp/handlebars-template-loader/issues"},"dist":{"shasum":"bd6c325f8d6a5e74e33c96f75cbf87a6c27a5377","tarball":"https://registry.npmjs.org/handlebars-template-loader/-/handlebars-template-loader-0.5.2.tgz","integrity":"sha512-Q3N0QEQx3ImPVP5DyK++Y6KVG2vCfeXLT/l3P3M5nEnuEz3FI2R2A7f1YwuVEKbyUJkTYM1fxUSpLohNn8z4eg==","signatures":[{"sig":"MEYCIQDL7e0wQZ4D7DwKIixRvWKnveBLcFej3ldFnA/4yus13gIhANvJ8wVhW3edmxhmaNb+8VuCp49ZA74ICuh4ekj+fbU1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"bd6c325f8d6a5e74e33c96f75cbf87a6c27a5377","gitHead":"0a1c26d0d4fd1cc2eef1f823864b92a85351ea20","scripts":{},"_npmUser":{"name":"emaphp","email":"emmanuel.antico@gmail.com"},"repository":{"url":"git+https://github.com/emaphp/handlebars-template-loader.git","type":"git"},"_npmVersion":"2.12.1","description":"A Handlebars template loader for Webpack","directories":{},"_nodeVersion":"0.10.37","dependencies":{"fastparse":"^1.1.1","loader-utils":"^0.2.11"},"peerDependencies":{"handlebars":"^3.0.3"}},"0.5.3":{"name":"handlebars-template-loader","version":"0.5.3","keywords":["handlebars","template","webpack","loader"],"author":{"name":"Emmanuel Antico","email":"emmanuel.antico@gmail.com"},"_id":"handlebars-template-loader@0.5.3","maintainers":[{"name":"emaphp","email":"emmanuel.antico@gmail.com"}],"contributors":[{"url":"JSteunou","name":"Jérôme Steunou"}],"homepage":"https://github.com/emaphp/handlebars-template-loader","bugs":{"url":"https://github.com/emaphp/handlebars-template-loader/issues"},"dist":{"shasum":"bf6483d9a3fc0d3c1f2593327eb0ae02a90850cf","tarball":"https://registry.npmjs.org/handlebars-template-loader/-/handlebars-template-loader-0.5.3.tgz","integrity":"sha512-ViMo/PjHNBH1JRDcPuNo7N9LBbjknaagxwRNGnvhnWIHPhg0hTbUgyJJNDYmZqise/r7700nq2CSh7qOaDxPig==","signatures":[{"sig":"MEUCIQCbYQ0SK7K+mh21TGI/PkRUZRYQ6zXZTN08vTIsApk04AIgA3St1glUnM/+9vgLgWJ8L7Ih5E+ry/WvDImGg7w1gSg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"bf6483d9a3fc0d3c1f2593327eb0ae02a90850cf","gitHead":"198ab28778c649a98e5ff26ff007a9b36dacc120","scripts":{"test":"mocha","cover":"istanbul cover node_modules/mocha/bin/_mocha"},"_npmUser":{"name":"emaphp","email":"emmanuel.antico@gmail.com"},"repository":{"url":"git+https://github.com/emaphp/handlebars-template-loader.git","type":"git"},"_npmVersion":"2.12.1","description":"A Handlebars template loader for Webpack","directories":{},"_nodeVersion":"0.10.37","dependencies":{"fastparse":"^1.1.1","loader-utils":"^0.2.11"},"devDependencies":{"chai":"^3.2.0","mocha":"^2.2.5","istanbul":"^0.3.18","chai-string":"^1.1.2"},"peerDependencies":{"handlebars":"^3.0.3"}},"0.5.4":{"name":"handlebars-template-loader","version":"0.5.4","keywords":["handlebars","template","webpack","loader"],"author":{"name":"Emmanuel Antico","email":"emmanuel.antico@gmail.com"},"license":"MIT","_id":"handlebars-template-loader@0.5.4","maintainers":[{"name":"emaphp","email":"emmanuel.antico@gmail.com"}],"contributors":[{"url":"JSteunou","name":"Jérôme Steunou"}],"homepage":"https://github.com/emaphp/handlebars-template-loader","bugs":{"url":"https://github.com/emaphp/handlebars-template-loader/issues"},"dist":{"shasum":"49d07b443f36531b0699b0382e6fe8ff6e58a53d","tarball":"https://registry.npmjs.org/handlebars-template-loader/-/handlebars-template-loader-0.5.4.tgz","integrity":"sha512-F9TcJh3LrYl7szMo4fcin/lC9oH36JS1yZc5ep2Ago9uX3Jer7rxqxiyw4E/07eMO6x2kouosAmrIOOyVqdGTw==","signatures":[{"sig":"MEUCIG9Cok+jaQvXidT1QjyTVM7ldDAr7gASRz1rwwgPJLm9AiEA5Fe4NyyOeSOtnDUTZ3tUlZ29A7hEUgqklTcrpPZiEgY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"49d07b443f36531b0699b0382e6fe8ff6e58a53d","gitHead":"c010d89d1fcbd4f9dbdc8e7d8a737b5622583e4b","scripts":{"test":"mocha","cover":"istanbul cover node_modules/mocha/bin/_mocha"},"_npmUser":{"name":"emaphp","email":"emmanuel.antico@gmail.com"},"repository":{"url":"git+https://github.com/emaphp/handlebars-template-loader.git","type":"git"},"_npmVersion":"2.12.1","description":"A Handlebars template loader for Webpack","directories":{},"_nodeVersion":"0.10.37","dependencies":{"fastparse":"^1.1.1","loader-utils":"^0.2.11"},"devDependencies":{"chai":"^3.2.0","mocha":"^2.2.5","istanbul":"^0.3.18","chai-string":"^1.1.2"}},"0.5.5":{"name":"handlebars-template-loader","version":"0.5.5","keywords":["handlebars","template","webpack","loader"],"author":{"name":"Emmanuel Antico","email":"emmanuel.antico@gmail.com"},"license":"MIT","_id":"handlebars-template-loader@0.5.5","maintainers":[{"name":"emaphp","email":"emmanuel.antico@gmail.com"}],"contributors":[{"url":"JSteunou","name":"Jérôme Steunou"},{"url":"ptbrowne","name":"Patrick Browne"}],"homepage":"https://github.com/emaphp/handlebars-template-loader","bugs":{"url":"https://github.com/emaphp/handlebars-template-loader/issues"},"dist":{"shasum":"f7b893218b8ebe8366f3daeb42693aed2fa60527","tarball":"https://registry.npmjs.org/handlebars-template-loader/-/handlebars-template-loader-0.5.5.tgz","integrity":"sha512-sDwj8SHpxZttIcbMcEhWwDATrRj+o4vsugh9ITjzoVxyX2tCDH1lHzrnieOR/aMQvKc7iBkBLkNnpfPXLyjvtw==","signatures":[{"sig":"MEUCIH3l+gVtDEsgPqpZtFyAg7UbSzCox6ntFnHVfSTbh5N4AiEAo4vkaYI+FITVQj2so8kFyrpARnNXKNumQjxVk9g2blc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"f7b893218b8ebe8366f3daeb42693aed2fa60527","gitHead":"fac8095ac659ccce9436e0c9d625f67906d4d1c1","scripts":{"test":"mocha","cover":"istanbul cover node_modules/mocha/bin/_mocha"},"_npmUser":{"name":"emaphp","email":"emmanuel.antico@gmail.com"},"repository":{"url":"git+https://github.com/emaphp/handlebars-template-loader.git","type":"git"},"_npmVersion":"2.12.1","description":"A Handlebars template loader for Webpack","directories":{},"_nodeVersion":"0.10.37","dependencies":{"fastparse":"^1.1.1","loader-utils":"^0.2.11"},"devDependencies":{"chai":"^3.2.0","mocha":"^2.2.5","istanbul":"^0.3.18","chai-string":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/handlebars-template-loader-0.5.5.tgz_1455892417099_0.8275924962945282","host":"packages-6-west.internal.npmjs.com"}},"0.5.6":{"name":"handlebars-template-loader","version":"0.5.6","keywords":["handlebars","template","webpack","loader"],"author":{"name":"Emmanuel Antico","email":"emmanuel.antico@gmail.com"},"license":"MIT","_id":"handlebars-template-loader@0.5.6","maintainers":[{"name":"emaphp","email":"emmanuel.antico@gmail.com"}],"contributors":[{"url":"JSteunou","name":"Jérôme Steunou"},{"url":"ptbrowne","name":"Patrick Browne"}],"homepage":"https://github.com/emaphp/handlebars-template-loader","bugs":{"url":"https://github.com/emaphp/handlebars-template-loader/issues"},"dist":{"shasum":"a7a6b966c795c0b64533d8c6b4ca9d0790db2295","tarball":"https://registry.npmjs.org/handlebars-template-loader/-/handlebars-template-loader-0.5.6.tgz","integrity":"sha512-f+63p3zJq6hVpFbIcMftqefEGH5KM0+RwQCzOEk+8AWjnJNs/UnBiwYk+gSMD6AraZwUfaQJZei8FjsAyxFtdg==","signatures":[{"sig":"MEQCIHJdwWU+UteTBkk4/VlH2hwnVjOX1Os7EVjT0PJZkcD1AiBirscGEgEpgjysWvIKEkhhpWmM8jxms+oxbpJi3UUBxw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"a7a6b966c795c0b64533d8c6b4ca9d0790db2295","gitHead":"60dda07b8f8db1a018cfd62b833d3a1ea3fcaa02","scripts":{"test":"mocha","cover":"istanbul cover node_modules/mocha/bin/_mocha"},"_npmUser":{"name":"emaphp","email":"emmanuel.antico@gmail.com"},"repository":{"url":"git+https://github.com/emaphp/handlebars-template-loader.git","type":"git"},"_npmVersion":"2.12.1","description":"A Handlebars template loader for Webpack","directories":{},"_nodeVersion":"0.10.37","dependencies":{"fastparse":"^1.1.1","loader-utils":"^0.2.11"},"devDependencies":{"chai":"^3.2.0","mocha":"^2.2.5","istanbul":"^0.3.18","chai-string":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/handlebars-template-loader-0.5.6.tgz_1457042963735_0.006195232504978776","host":"packages-13-west.internal.npmjs.com"}},"0.5.7":{"name":"handlebars-template-loader","version":"0.5.7","keywords":["handlebars","template","webpack","loader"],"author":{"name":"Emmanuel Antico","email":"emmanuel.antico@gmail.com"},"license":"MIT","_id":"handlebars-template-loader@0.5.7","maintainers":[{"name":"emaphp","email":"emmanuel.antico@gmail.com"}],"contributors":[{"url":"JSteunou","name":"Jérôme Steunou"},{"url":"ptbrowne","name":"Patrick Browne"},{"url":"Ivanca","name":"Ivan"}],"homepage":"https://github.com/emaphp/handlebars-template-loader","bugs":{"url":"https://github.com/emaphp/handlebars-template-loader/issues"},"dist":{"shasum":"97368f07f6d96bc66386510981300d8b08eae79e","tarball":"https://registry.npmjs.org/handlebars-template-loader/-/handlebars-template-loader-0.5.7.tgz","integrity":"sha512-NgCy8tkRz86f0zBqwsecXmOSAPIlEhvsJEp06Q4wgoLA1bFNx0IwQmXjhrGcHfabX+9SEkk1oiuyd3TE4u7HDw==","signatures":[{"sig":"MEUCIQCztfLEBBo6j7vQgsifMKSjmxmM+zdXNBiHOandvXIUzgIgOSv5Or/sW+wuXwyIbDrydKWPSsc09Xj1dFUoOeGZwNo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"97368f07f6d96bc66386510981300d8b08eae79e","gitHead":"f7dcb499e5958c8163c42fc048cbe8c3e21b208f","scripts":{"test":"mocha","cover":"istanbul cover node_modules/mocha/bin/_mocha"},"_npmUser":{"name":"emaphp","email":"emmanuel.antico@gmail.com"},"repository":{"url":"git+https://github.com/emaphp/handlebars-template-loader.git","type":"git"},"_npmVersion":"2.12.1","description":"A Handlebars template loader for Webpack","directories":{},"_nodeVersion":"0.10.37","dependencies":{"fastparse":"^1.1.1","loader-utils":"^0.2.11"},"devDependencies":{"chai":"^3.2.0","mocha":"^2.2.5","istanbul":"^0.3.18","chai-string":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/handlebars-template-loader-0.5.7.tgz_1457045342359_0.6230584152508527","host":"packages-12-west.internal.npmjs.com"}},"0.6.0":{"name":"handlebars-template-loader","version":"0.6.0","keywords":["handlebars","template","webpack","loader"],"author":{"name":"Emmanuel Antico","email":"emmanuel.antico@gmail.com"},"license":"MIT","_id":"handlebars-template-loader@0.6.0","maintainers":[{"name":"emaphp","email":"emmanuel.antico@gmail.com"}],"contributors":[{"url":"JSteunou","name":"Jérôme Steunou"},{"url":"ptbrowne","name":"Patrick Browne"},{"url":"Ivanca","name":"Ivan"}],"homepage":"https://github.com/emaphp/handlebars-template-loader","bugs":{"url":"https://github.com/emaphp/handlebars-template-loader/issues"},"dist":{"shasum":"063edf48ed0eb911aa991e5aef9259a71458d111","tarball":"https://registry.npmjs.org/handlebars-template-loader/-/handlebars-template-loader-0.6.0.tgz","integrity":"sha512-KMxexqmb79JqIE08oU4Z1i5SwdbNl72Zee0MisrKw0BWb7YQG6ypZgPeDANq14WraH+vlehF7EKNOX/Ub6voRw==","signatures":[{"sig":"MEQCIHBzKSGHsQIbrSxhCpRhH8Ts9cxh85JERrQIxHAMm8lFAiB295us3O/SBeegrDUT/IcLSUQjeY/KcnVs1X/5xiFuEA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"063edf48ed0eb911aa991e5aef9259a71458d111","gitHead":"b50331c7fca4334842c14a8e0bb637416f319331","scripts":{"test":"mocha","cover":"istanbul cover node_modules/mocha/bin/_mocha"},"_npmUser":{"name":"emaphp","email":"emmanuel.antico@gmail.com"},"repository":{"url":"git+https://github.com/emaphp/handlebars-template-loader.git","type":"git"},"_npmVersion":"2.12.1","description":"A Handlebars template loader for Webpack","directories":{},"_nodeVersion":"0.10.37","dependencies":{"fastparse":"^1.1.1","loader-utils":"^0.2.11"},"devDependencies":{"chai":"^3.2.0","mocha":"^2.2.5","istanbul":"^0.3.18","chai-string":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/handlebars-template-loader-0.6.0.tgz_1458677508052_0.99494693800807","host":"packages-13-west.internal.npmjs.com"}},"0.7.0":{"name":"handlebars-template-loader","version":"0.7.0","keywords":["handlebars","template","webpack","loader"],"author":{"name":"Emmanuel Antico","email":"emmanuel.antico@gmail.com"},"license":"MIT","_id":"handlebars-template-loader@0.7.0","maintainers":[{"name":"emaphp","email":"emmanuel.antico@gmail.com"}],"contributors":[{"url":"JSteunou","name":"Jérôme Steunou"},{"url":"ptbrowne","name":"Patrick Browne"},{"url":"Ivanca","name":"Ivan"},{"url":"whatknight","name":"Matt Thompson"}],"homepage":"https://github.com/emaphp/handlebars-template-loader","bugs":{"url":"https://github.com/emaphp/handlebars-template-loader/issues"},"dist":{"shasum":"1621ba58c65eafaa75f0b573bca04f04cda6869a","tarball":"https://registry.npmjs.org/handlebars-template-loader/-/handlebars-template-loader-0.7.0.tgz","integrity":"sha512-a4r0aMQSdy0ZKysdUozSiCnijQMvT9nutXsVN69KEuMFFnQKTh7d3pvgAz85xv/OddwTshuROqt5Th6K9kb0Cw==","signatures":[{"sig":"MEUCIHz7ki0XglOrJ8LuNlSBvk0/hz2klCHq9VqWiW+Ltv4BAiEAm9rleYwvol1DmL6xaWtrmhx8A7DcOhlC1fuULqLl2NE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"1621ba58c65eafaa75f0b573bca04f04cda6869a","gitHead":"59546af18d34d98650a37eb2d50081769aaa8613","scripts":{"test":"mocha","cover":"istanbul cover node_modules/mocha/bin/_mocha"},"_npmUser":{"name":"emaphp","email":"emmanuel.antico@gmail.com"},"repository":{"url":"git+https://github.com/emaphp/handlebars-template-loader.git","type":"git"},"_npmVersion":"3.10.3","description":"A Handlebars template loader for Webpack","directories":{},"_nodeVersion":"6.3.0","dependencies":{"fastparse":"^1.1.1","loader-utils":"^0.2.15"},"devDependencies":{"chai":"^3.5.0","mocha":"^2.5.3","istanbul":"^0.4.4","chai-string":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/handlebars-template-loader-0.7.0.tgz_1470093544929_0.2993370657786727","host":"packages-16-east.internal.npmjs.com"}},"0.7.1":{"name":"handlebars-template-loader","version":"0.7.1","keywords":["handlebars","template","webpack","loader"],"author":{"name":"Emmanuel Antico","email":"emmanuel.antico@gmail.com"},"license":"MIT","_id":"handlebars-template-loader@0.7.1","maintainers":[{"name":"emaphp","email":"emmanuel.antico@gmail.com"}],"contributors":[{"url":"JSteunou","name":"Jérôme Steunou"},{"url":"ptbrowne","name":"Patrick Browne"},{"url":"Ivanca","name":"Ivan"},{"url":"whatknight","name":"Matt Thompson"}],"homepage":"https://github.com/emaphp/handlebars-template-loader","bugs":{"url":"https://github.com/emaphp/handlebars-template-loader/issues"},"dist":{"shasum":"1e0120132854df3736814be8daa19ea37ef65296","tarball":"https://registry.npmjs.org/handlebars-template-loader/-/handlebars-template-loader-0.7.1.tgz","integrity":"sha512-vtS42dIx5pXGT/lzr7GOSifHZ+2JNs99tSGIN+SFBn1V5OSGa/bNo/DKOEWAQnZMfgiA6h8EjMAt6BTMpyFFDA==","signatures":[{"sig":"MEYCIQDYh1E1YSa4u+guR5PNgNr/vQfV07FXJdm8A54YlgxtAwIhAOHGUZ8iHw+C4E3rSrUqWmBwgnWso8H/P1ylIFAAJIyi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"1e0120132854df3736814be8daa19ea37ef65296","gitHead":"7362e373c886fc000be161a233ffa4fe0550b036","scripts":{"test":"mocha","cover":"istanbul cover node_modules/mocha/bin/_mocha"},"_npmUser":{"name":"emaphp","email":"emmanuel.antico@gmail.com"},"repository":{"url":"git+https://github.com/emaphp/handlebars-template-loader.git","type":"git"},"_npmVersion":"3.10.10","description":"A Handlebars template loader for Webpack","directories":{},"_nodeVersion":"6.10.3","dependencies":{"fastparse":"^1.1.1","loader-utils":"^0.2.15"},"devDependencies":{"chai":"^3.5.0","mocha":"^2.5.3","istanbul":"^0.4.4","chai-string":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/handlebars-template-loader-0.7.1.tgz_1496606397851_0.9894051721785218","host":"s3://npm-registry-packages"}},"0.8.0":{"name":"handlebars-template-loader","version":"0.8.0","keywords":["handlebars","template","webpack","loader"],"author":{"name":"Emmanuel Antico","email":"emmanuel.antico@gmail.com"},"license":"MIT","_id":"handlebars-template-loader@0.8.0","maintainers":[{"name":"emaphp","email":"emmanuel.antico@gmail.com"}],"contributors":[{"url":"JSteunou","name":"Jérôme Steunou"},{"url":"ptbrowne","name":"Patrick Browne"},{"url":"Ivanca","name":"Ivan"},{"url":"whatknight","name":"Matt Thompson"},{"url":"hswolff","name":"Harry Wolff"}],"homepage":"https://github.com/emaphp/handlebars-template-loader","bugs":{"url":"https://github.com/emaphp/handlebars-template-loader/issues"},"dist":{"shasum":"8bf0c6e91009ff444cd84a976e9466212dd17787","tarball":"https://registry.npmjs.org/handlebars-template-loader/-/handlebars-template-loader-0.8.0.tgz","integrity":"sha512-Qqcq44Gn/BpgRpU9BoFBm2zFvcKQV50VGMjOdUi261MUd5ykppV5I93w7eXNujEqyuXLS+TCiEsFaI4/vt0yhQ==","signatures":[{"sig":"MEUCIQDbgfStpYgtp2RtIwibZp+AOOblJvCNWmNjkJyHXt5sXwIgXL+oAYOrdTVMDEgr5YX6VmtrlWlfBnPKGpru2Xv42LY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"8bf0c6e91009ff444cd84a976e9466212dd17787","gitHead":"8f6db14406e403be989722810730447420431be5","scripts":{"test":"mocha","cover":"istanbul cover node_modules/mocha/bin/_mocha"},"_npmUser":{"name":"emaphp","email":"emmanuel.antico@gmail.com"},"repository":{"url":"git+https://github.com/emaphp/handlebars-template-loader.git","type":"git"},"_npmVersion":"3.10.10","description":"A Handlebars template loader for Webpack","directories":{},"_nodeVersion":"6.11.0","dependencies":{"fastparse":"^1.1.1","loader-utils":"^0.2.15"},"devDependencies":{"chai":"^3.5.0","mocha":"^2.5.3","istanbul":"^0.4.4","chai-string":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/handlebars-template-loader-0.8.0.tgz_1498250804121_0.08864152966998518","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"handlebars-template-loader","version":"1.0.0","keywords":["handlebars","template","webpack","loader"],"author":{"name":"Emmanuel Antico","email":"emmanuel.antico@gmail.com"},"license":"MIT","_id":"handlebars-template-loader@1.0.0","maintainers":[{"name":"emaphp","email":"emmanuel.antico@gmail.com"}],"contributors":[{"url":"JSteunou","name":"Jérôme Steunou"},{"url":"ptbrowne","name":"Patrick Browne"},{"url":"Ivanca","name":"Ivan"},{"url":"whatknight","name":"Matt Thompson"},{"url":"hswolff","name":"Harry Wolff"}],"homepage":"https://github.com/emaphp/handlebars-template-loader","bugs":{"url":"https://github.com/emaphp/handlebars-template-loader/issues"},"dist":{"shasum":"264a8fdc356aa04d09ee08788c2980d710b01809","tarball":"https://registry.npmjs.org/handlebars-template-loader/-/handlebars-template-loader-1.0.0.tgz","fileCount":54,"integrity":"sha512-GRikDO4BrmNs8KV5XDzAQaIH5r4eC6fpMCYfYK96viiGIoHODxxPH7+tCFMp3AVMv3Sokk70yG9tLLD3Zzyi4Q==","signatures":[{"sig":"MEUCIQCrLfBZ31dxxmw+A+mOdGZjlbfRsKQEknl7lRkJzwSGWQIgLmhWr0j8MN/l/btvT8Htqk3oK1aATCF0Fs3IGIKINak=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51257},"main":"index.js","gitHead":"32eadfba213c917a891535162a35f8b1c5c21f9f","scripts":{"test":"mocha","cover":"istanbul cover node_modules/mocha/bin/_mocha"},"_npmUser":{"name":"emaphp","email":"emmanuel.antico@gmail.com"},"repository":{"url":"git+https://github.com/emaphp/handlebars-template-loader.git","type":"git"},"_npmVersion":"5.6.0","description":"A Handlebars template loader for Webpack","directories":{},"_nodeVersion":"8.9.4","dependencies":{"fastparse":"^1.1.1","loader-utils":"^0.2.15"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^3.5.0","mocha":"^2.5.3","istanbul":"^0.4.4","chai-string":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/handlebars-template-loader_1.0.0_1519929663878_0.23960376881784562","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"handlebars-template-loader","version":"1.1.0","description":"A Handlebars template loader for Webpack","main":"index.js","homepage":"https://github.com/emaphp/handlebars-template-loader","license":"MIT","bugs":{"url":"https://github.com/emaphp/handlebars-template-loader/issues"},"author":{"name":"Emmanuel Antico","email":"emmanuel.antico@gmail.com"},"contributors":[{"name":"Jérôme Steunou","url":"JSteunou"},{"name":"Patrick Browne","url":"ptbrowne"},{"name":"Ivan","url":"Ivanca"},{"name":"Matt Thompson","url":"whatknight"},{"name":"Harry Wolff","url":"hswolff"},{"name":"Romain Lebossé","email":"rlebosse@gmail.com","url":"rlebosse"}],"repository":{"type":"git","url":"git+https://github.com/emaphp/handlebars-template-loader.git"},"dependencies":{"fastparse":"^1.1.1","loader-utils":"^2.0.4"},"keywords":["handlebars","template","webpack","loader"],"devDependencies":{"chai":"^4.1.2","chai-string":"^1.2.0","istanbul":"^0.4.4","mocha":"^2.5.3"},"scripts":{"test":"mocha","cover":"istanbul cover node_modules/mocha/bin/_mocha"},"_id":"handlebars-template-loader@1.1.0","gitHead":"0d81eee0fd11b0b7121205851ff6971f5f4ad8c1","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-Jsg7J9fHqz2K1O95XG0Ex9XidHUjQjrFqa44RDURYNxiJ/jIamK3//HluuVCGPgvnBVpM7rWUAPdmL/DQuMx1Q==","shasum":"d4d13364827eaf80c6c06aa6cc70cc20f65de7d5","tarball":"https://registry.npmjs.org/handlebars-template-loader/-/handlebars-template-loader-1.1.0.tgz","fileCount":54,"unpackedSize":54302,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHPlBZIhuj9ZPync/Mbd625O3PDTpykv/QpYDQG5G1tBAiEAvFqHhYD6apB9QnlRN2N2NMTX2dW8KIh5A8vAb3q7Fro="}]},"_npmUser":{"name":"emaphp","email":"emmanuel.antico@gmail.com","actor":{"name":"emaphp","email":"emmanuel.antico@gmail.com","type":"user"}},"directories":{},"maintainers":[{"name":"emaphp","email":"emmanuel.antico@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/handlebars-template-loader_1.1.0_1750865771167_0.10779430200348794"},"_hasShrinkwrap":false}},"time":{"created":"2014-10-18T22:56:41.891Z","modified":"2025-06-25T15:36:11.571Z","0.1.0":"2014-10-18T22:56:41.891Z","0.2.0":"2014-10-20T17:39:17.822Z","0.2.1":"2015-01-22T21:55:31.437Z","0.2.2":"2015-02-09T21:41:56.233Z","0.3.0":"2015-07-03T20:12:00.347Z","0.5.0":"2015-08-19T00:02:52.747Z","0.5.1":"2015-08-19T17:39:47.186Z","0.5.2":"2015-08-20T16:32:52.650Z","0.5.3":"2015-08-23T22:54:59.461Z","0.5.4":"2015-10-12T21:34:03.696Z","0.5.5":"2016-02-19T14:33:41.581Z","0.5.6":"2016-03-03T22:09:26.599Z","0.5.7":"2016-03-03T22:49:05.872Z","0.6.0":"2016-03-22T20:11:50.396Z","0.7.0":"2016-08-01T23:19:05.909Z","0.7.1":"2017-06-04T19:59:58.785Z","0.8.0":"2017-06-23T20:46:44.328Z","1.0.0":"2018-03-01T18:41:03.976Z","1.1.0":"2025-06-25T15:36:11.358Z"},"bugs":{"url":"https://github.com/emaphp/handlebars-template-loader/issues"},"author":{"name":"Emmanuel Antico","email":"emmanuel.antico@gmail.com"},"license":"MIT","homepage":"https://github.com/emaphp/handlebars-template-loader","keywords":["handlebars","template","webpack","loader"],"repository":{"type":"git","url":"git+https://github.com/emaphp/handlebars-template-loader.git"},"description":"A Handlebars template loader for Webpack","contributors":[{"name":"Jérôme Steunou","url":"JSteunou"},{"name":"Patrick Browne","url":"ptbrowne"},{"name":"Ivan","url":"Ivanca"},{"name":"Matt Thompson","url":"whatknight"},{"name":"Harry Wolff","url":"hswolff"},{"name":"Romain Lebossé","email":"rlebosse@gmail.com","url":"rlebosse"}],"maintainers":[{"name":"emaphp","email":"emmanuel.antico@gmail.com"}],"readme":"handlebars-template-loader\n==========================\n\nA Handlebars template loader for Webpack\n\n### Changelog\n\n * 1.1.0: Updated dependencies.\n * 1.0.0: Loader now works with Webpack 4. Still a beta release.\n\n<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-generate-toc again -->\n\n**Table of Contents**\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Loading templates](#loading-templates)\n- [Using helpers](#using-helpers)\n- [Using partials](#using-partials)\n- [Options](#options)\n    - [Prepending filename comment](#prepending-filename-comment)\n    - [Images](#images)\n    - [Runtime path](#runtime-path)\n    - [Compilation options](#compilation-options)\n- [Macros](#macros)\n    - [require](#require)\n    - [include](#include)\n    - [repeat](#repeat)\n    - [Custom macros](#custom-macros)\n    - [Disabling macros](#disabling-macros)\n    - [Arguments](#arguments)\n    - [Escaping](#escaping)\n- [License](#license)\n\n<!-- markdown-toc end -->\n\n# Installation #\n\n```bash\nnpm install handlebars-template-loader\n```\n\n>Since version 0.5.4, this loaders does not include Handlebars in its dependency list. Make sure to install Handlebars before running webpack. Read https://github.com/npm/npm/issues/6565 for details.\n\n# Usage #\n\n```javascript\nmodule.exports = {\n    //...\n\n    module: {\n        loaders: [\n            { test: /\\.hbs/, loader: \"handlebars-template-loader\" }\n        ]\n    },\n\n    node: {\n        fs: \"empty\" // avoids error messages\n    }\n};\n```\n\n# Loading templates #\n\n```html\n<!-- File: hello.hbs -->\n<p>Hello&nbsp;{{name}}</p>\n```\n\n```javascript\n// File: app.js\nvar compiled = require('./hello.hbs');\nreturn compiled({name: \"world\"});\n```\n\n# Using helpers #\n\n```javascript\n// File: helpers.js\n\n// Get Handlebars instance\nvar Handlebars = require('handlebars-template-loader/runtime');\n\nHandlebars.registerHelper('list', function(items, options) {\n  var out = \"<ul>\";\n\n  for(var i=0, l=items.length; i<l; i++) {\n    out = out + \"<li>\" + options.fn(items[i]) + \"</li>\";\n  }\n\n  return out + \"</ul>\";\n});\n\nHandlebars.registerHelper('link', function(text, url) {\n  text = Handlebars.Utils.escapeExpression(text);\n  url  = Handlebars.Utils.escapeExpression(url);\n\n  var result = '<a href=\"' + url + '\">' + text + '</a>';\n\n  return new Handlebars.SafeString(result);\n});\n```\n\n```javascript\n// File: main.js\n\n// Include template helpers\nrequire(\"./helpers.js\");\n```\n\n# Using partials #\n\n```javascript\n    // Get Handlebars instance\n    var Handlebars = require('handlebars-template-loader/runtime');\n\n    // Require partial\n    var partial = require('path/to/my/_partial.hbs');\n\n    // Register partial\n    Handlebars.registerPartial('my_partial_name', partial);\n\n```\n\n# Options #\n\n## Prepending filename comment ##\n\nWhen debugging a large single page app with the DevTools, it's often hard to find the template that contains a bug. With the following config a HTML comment is prepended to the template with the relative path in it (e.g. `<!-- view/user/edit.html -->`).\n\n```javascript\nmodule.exports = {\n    //...\n\n    module: {\n        loaders: [\n            {\n                test: /\\.hbs$/,\n                loader: \"handlebars-template-loader\",\n                query: {\n                    prependFilenameComment: __dirname,\n                }\n            }\n        ]\n    }\n};\n```\n\n## Images ##\n\nIn order to load images you must install either the `file-loader` or the `url-loader` package.\n\n```javascript\nmodule.exports = {\n    //...\n\n    module: {\n        loaders: [\n            //...\n            { test: /\\.hbs/, loader: \"handlebars-template-loader\" },\n            { test: /\\.jpg/, loader: \"file-loader\" },\n            { test: /\\.png/, loader: \"url-loader?mimetype=image/png\" },\n        ]\n    }\n};\n```\n\n```html\n<!-- Require image using file-loader -->\n<img src=\"img/portrait.jpg\">\n\n<!-- Require image using url-loader -->\n<img src=\"img/icon.png\">\n```\n\nImages with an absolute path are not translated unless a `root` option is defined\n\n```html\n<!-- Using root = undefined => no translation -->\n<img src=\"/not_translated.jpg\">\n\n<!-- Using root = 'images' => require('images/image.jpg') -->\n<img src=\"/image.jpg\">\n```\n\nIn order to deactivate image processing define the `attributes` option as an empty array.\n\n```javascript\nmodule.exports = {\n    //...\n\n    module: {\n        loaders: [\n            {\n                test: /\\.hbs$/,\n                loader: \"handlebars-template-loader\",\n                query: {\n                    attributes: []\n                }\n            }\n        ]\n    }\n};\n```\n\nYou could also add which attributes need to be processed in the form of pairs *tag:attribute*.\n\n```javascript\nmodule.exports = {\n    //...\n\n    module: {\n        loaders: [\n            {\n                test: /\\.hbs$/,\n                loader: \"handlebars-template-loader\",\n                query: {\n                    attributes: ['img:src', 'x-img:src']\n                }\n            }\n        ]\n    }\n};\n```\n\nDynamic attributes won't be afected by this behaviour by default.\n\n```html\n<!-- Ignore \"root\" argument if attribute contains a template expression -->\n<img src=\"/img/{{doge}}.png\" class=\"doge-img\">\n```\n\nIn order to append the root directory you'll need to specify the `parseDynamicRoutes` argument.\n\n```javascript\nmodule.exports = {\n    //...\n\n    module: {\n        loaders: [\n            {\n                test: /\\.html$/,\n                loader: \"handlebars-template-loader\",\n                query: {\n                    root: \"myapp\",\n                    parseDynamicRoutes: true\n                }\n            }\n        ]\n    }\n};\n```\n\n```html\n<!-- Attribute now translates to \"myapp/img/{{doge}}.png\" -->\n<img src=\"/img/cat-<%- currentCat.url %>.png\" class=\"doge-img\">\n```\n\n## Runtime path ##\n\nIf you have a custom location for your Handlebars runtime module then you can set that in your `query` object via the `runtimePath` property. This is the path to the Handlebars runtime that every `.hbs` file will require and use. By default this loader looks up the absolute path to the `handlebars/runtime` in your `node_modules` folder. Changing this property is useful if you are doing somethign non-standard with your Handlebar templates, for example setting an alias for the `handlebars/runtime` path.\n\n```javascript\nmodule.exports = {\n    //...\n\n    module: {\n        loaders: [\n            {\n                test: /\\.html$/,\n                loader: \"handlebars-template-loader\",\n                query: {\n                    runtimePath: 'handlebars/runtime'\n                }\n            }\n        ]\n    }\n};\n```\n\n## Compilation options ##\n\nHandlebars does support [additional compilation options](http://handlebarsjs.com/reference.html) that you can specify in your `query` object literal.\n\n```javascript\nmodule.exports = {\n    //...\n\n    module: {\n        loaders: [\n            {\n                test: /\\.html$/,\n                loader: \"handlebars-template-loader\",\n                query: {\n                    root: \"myapp\",\n                    strict: true,\n                    noEscape: true\n                }\n            }\n        ]\n    }\n};\n```\n\n# Macros #\n\nMacros allow additional features like including templates or inserting custom text in a compiled templates.\n\n## require ##\n\nThe `require` macro expects a path to a handlebars template. The macro is then translated to a webpack require expression that evaluates the template using the same arguments.\n\n```html\n<h4>Profile</h4>\n\nName: <strong>{{name}}</strong>\n<br/>\nSurname: <strong>{{surname}}</strong>\n<div class=\"profile-details\">\n    @require('profile-details.hbs')\n</div>\n```\n\n## include ##\n\nWhile the `require` macro expects a resource that returns a function, the `include` macro can be used for resources that return plain text. For example, we can include text loaded through the `html-loader` directly in our template.\n\n```html\n<div class=\"wiki\">\n    <h3>Introduction</h3>\n    @include('intro.htm')\n    <h3>Authors</h3>\n    @include('authors.htm')\n</div>\n```\n\n## repeat ##\n\nThe `repeat` macro will repeat the given string the amount of times as specified by the second argument (default to 1). It will only accept string literals.\n\n```html\n<p>Lorem ipsum</p>\n@repeat('<br/>', 3)\n<p>Sit amet</p>\n@repeat('\\n')\n```\n\n## Custom macros ##\n\nWe can include additional macros by defining them in the webpack configuration file. Remember that the value returned by a macro is inserted as plain javascript, so in order to insert a custom text we need to use nested quotes. For example, let's say that we want a macro that includes a copyright string in our template.\n\n```javascript\n// File: webpack.config.js\nmodule.exports = {\n    // ...\n\n    module: {\n        loaders: {\n            // ...\n            { test: /\\.hbs/, loader: \"handlebars-template-loader\" },\n        }\n    },\n\n    macros: {\n        copyright: function () {\n            return \"'<p>Copyright FakeCorp 2014 - 2015</p>'\";\n        }\n    }\n}\n```\n\nWe then invoke our macro from within the template as usual.\n\n```html\n<footer>\n    @copyright()\n</footer>\n```\n\n## Disabling macros ##\n\nYou can disable macros if you are a bit unsure about their usage or just simply want faster processing. This is achieved by setting the `parseMacros` options to false.\n\n```javascript\nmodule.exports = {\n    // ...\n\n    module: {\n        loaders: {\n            // ...\n            {\n                test: /\\.hbs/,\n                loader: \"handlebars-template-loader\",\n                query: {\n                    parseMacros: false\n                }\n            },\n        }\n    }\n}\n```\n\n## Arguments ##\n\nMacros can accept an arbitrary number of arguments. Only boolean, strings and numeric types are supported.\n\n```javascript\n// File: webpack.config.js\nmodule.exports = {\n    // ...\n\n    module: {\n        loaders: {\n            // ...\n            { test: /\\.html$/, loader: \"handlebars-template-loader\" },\n        }\n    },\n\n    macros: {\n        header: function (size, content) {\n            return \"'<h\" + size + \">\" + content + \"</h\" + size + \">'\";\n        }\n    }\n}\n```\n\n```html\n@header(1, 'Welcome')\n<p>Lorem ipsum</p>\n@header(3, 'Contents')\n<p>Sit amet</p>\n```\n\n## Escaping ##\n\nMacro expressions can be escaped with the `\\` character.\n\n```html\n@repeat('<br/>', 3)\n\\@escaped()\n@custom_macro()\n```\n\nTranslates to\n\n```html\n<br/><br/><br/>\n@escaped()\ncustom string\n```\n\n# License #\n\nReleased under the MIT license.\n","readmeFilename":"README.md","users":{"hacfi":true,"brainpoint":true}}