handlebars-loader
handlebars-loader copied to clipboard
A handlebars template loader for webpack
cheers for building a useful tool. The documentation for node doesn't seem extensive, so maybe I am misunderstanding the use case here, but `knownHelpers` is meant to only use a...
Hi, I'm using this loader to combine html sources together. I tried to figure out how I could hanlde the `srcset` attribute of a `picture` element properly. I want to...
This is a bug report: ### Issue Custom helpers not fully compiled to ES5 when used with handlebars-loader ### Example: ```js import Handlebars from 'handlebars'; export default function () {...
According to your documentation for correctly loader work need install only `handlebars-loader`, but `handlebars-loader` depends on `handlebars`. `npm WARN [email protected] requires a peer of handlebars@>= 1.3.0 < 5 but none...
I would like to propose an option/feature allowing to process the returned template(string). I need it to remove white space, empty lines and tabs from the compiled template. A similar...
i'd like to add this code to line 172 to remove whitespaces. this will remove preceding and trailing white spaces. ```javascript if (!!query.removeWhiteSpace) { source = source.replace(/^[\s\uFEFF\xA0\x20\t]+|[\s\uFEFF\xA0\x20\t]+$/mg, ' ').replace(/[\r\n]/mg, '');...
Tried doing stuff like: ``` import(/* webpackPrefetch: 0 */ './MyTemplate.hbs').then(template => { this.contents.innerHTML = template(); }); ``` No luck yet. Getting 'template is not a function'. Just wondering if it's...
` {{> header}} {{> components/navigation}} {{htmlWebpackPlugin.options.data.description}} {{> footer}}` Hi all, I can pass data to a page template through htmlWebpackPlugin. I am wondering how to pass data to partials? for...
Hi, how i can use handlebars-intl(http://formatjs.io/handlebars/) with handlebars-loader ?