handlebars-loader
handlebars-loader copied to clipboard
A handlebars template loader for webpack
I updated webpack to version `5.37.1` from `5.11.0` and now i see errors like this ``` harmony module decorator:7 Uncaught (in promise) Error: ES Modules may not assign module.exports or...
Fixes issue with `inlineRequires` feature not able to handle `srcset` resources because of different syntax. Fixes #148.
I've set up an [alias with an @ symbol](https://goenning.net/2017/07/21/how-to-avoid-relative-path-hell-javascript-typescript-projects/), but when I try to reference a partial with it, I get a parse error. I also get the same error...
Hi, We use the `handlebars-loader` in combination with Storybook and plain html/scss, which works awesome! We want to configure handlebars to optionally resolve partials based on prefixed, and if not...
Is there a way to configure webpack so that helper functions can be written and referenced in typescript?
Hey. When running a template through this plugin, stuff like ``` hbs {{name}} is kewl! What is even life ``` Doesn't replace the `src` with a require, like `html-loader` does....
@pcardune I would like to set the alias through the `resolve` option of the `webpack` in the project. I want to be able to apply this option to the handlebars-loader...
Hi, This is my **configuration** for handlebars helpers: ``` { test: /\.hbs$/, use: [ { loader: 'handlebars-loader', options: { precompileOptions: { knownHelpersOnly: false, }, helperDirs: path.resolve(__dirname, './src/component/hbs/helpers'), } } ]...
handlebars-helpers link https://github.com/assemble/handlebars-helpers