handlebars-loader
handlebars-loader copied to clipboard
A handlebars template loader for webpack
Would it be possible to cache the rendering result for partials that are called with the same variables? I use [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) with handlebars-loader to create static webpages (in the order...
issue: I have all my helpers in one directory but I also have `{{variable}}` references where variable coincides with a template name in the same directory. So the unclear stuff...
this is my config screenshot  and i get an error about it ,  so, i want to konw why can i get it ?
When trying to compile some .hbs files with custom helpers, I am receiving the message: ``` Module build failed: Error: You specified knownHelpersOnly, but used the unknown helper compare -...
Handlebars has support for [dynamic partials](http://handlebarsjs.com/partials.html#dynamic-partials), but I did not get them to work with handlebars-loader. Pseudo-example: ``` main.handlebars --- The statement below should resolve the 'world' partial and show...
helpers dir hava many JSfile example: title.js: ` module.exports = function() { return this.title.toUpperCase(); }; ` json.js ` module.exports = function(object) { return JSON.stringify(object); }; ` my question: How to...
Thanks for this lib! How can I get it configured to use external helpers? For example: https://github.com/helpers/handlebars-helpers
{{#> content-block }} {{/content-block}}
What would be the correct way to create helper that embeds file content from file relative to current template (or partial)? ``` {{embed '../relative/to/me'}} ``` ?
I'm currently having a problem with handlebars-loader. ``` ERROR in ./js/myTemplate.hbs Module parse failed: D:\Mine Dokumenter\Google Drive\Web\Valgportal\js\myTemplate.hbs Unexpected character '#' (1:2) You may need an appropriate loader to handle this...