handlebars-loader
handlebars-loader copied to clipboard
A handlebars template loader for webpack
I need to compile a dynamic template and I want to reuse the relative locations of my helpers. Is there an easy way to do this with handlebars-loaders?
I had a weird compilation error using this loader & hbs v3 After hours I isolated the issue, this loader try to resolve helper path even for context "variable", and...
In version 1.0.2, we were able to specify an array of `knownHelpers` along with the `helperDirs` like so: ``` js { test: /\.hbs$/, loader: 'handlebars-loader', query: { helperDirs: [path.join(__dirname, 'src/templates/helpers')],...
Hello, I'm investigating using this loader, but in our current templates we use the following semantics for partials: ``` {{> some/tpl.hbs}} -> look in node_modules/some/tpl.hbs (aka use node_modules resolution algo)...
Bumps [json5](https://github.com/json5/json5) to 1.0.2 and updates ancestor dependency [html-loader](https://github.com/webpack-contrib/html-loader). These dependencies need to be updated together. Updates `json5` from 1.0.1 to 1.0.2 Release notes Sourced from json5's releases. v1.0.2 Fix:...
Removes [json5](https://github.com/json5/json5). It's no longer used after updating ancestor dependencies [json5](https://github.com/json5/json5), [loader-utils](https://github.com/webpack/loader-utils) and [html-loader](https://github.com/webpack-contrib/html-loader). These dependencies need to be updated together. Removes `json5` Updates `loader-utils` from 1.4.2 to 3.2.1 Release...
Bumps [clean-css](https://github.com/clean-css/clean-css) to 5.2.0 and updates ancestor dependency [html-loader](https://github.com/webpack-contrib/html-loader). These dependencies need to be updated together. Updates `clean-css` from 3.1.9 to 5.2.0 Changelog Sourced from clean-css's changelog. 5.2.0 / 2021-09-25...
Bumps [uglify-js](https://github.com/mishoo/UglifyJS) to 3.15.5 and updates ancestor dependency [html-loader](https://github.com/webpack-contrib/html-loader). These dependencies need to be updated together. Updates `uglify-js` from 2.4.24 to 3.15.5 Release notes Sourced from uglify-js's releases. v3.15.5 Bug...
Removes [cli](https://github.com/node-js-libs/cli). It's no longer used after updating ancestor dependency [html-loader](https://github.com/webpack-contrib/html-loader). These dependencies need to be updated together. Removes `cli` Updates `html-loader` from 0.3.0 to 4.2.0 Release notes Sourced from...