A Rollup plugin that compiles Handlebars templates (.hbs) to JavaScript functions during the bundling process. Version 1.0.0 is the latest stable release, published only once in 2017. It allows importing .hbs files directly as template functions, with support for Handlebars compile options. Key limitation: no longer maintained, incompatible with modern Rollup v2+, and no TypeScript support.
npm install rollup-plugin-handlebarsVerified import paths — ran on the pinned version, not inferred.
Demonstrates Rollup config with handlebars plugin and importing .hbs template as compiled function.
Switch to @rollup/plugin-handlebars or use a different plugin.
Ensure handlebars is installed as a dependency (not devDependency) or externalize the runtime.
Migrate to an alternative that doesn't depend on rollup-pluginutils.
Add `import handlebars from 'rollup-plugin-handlebars'` and include in `plugins` array.
Run `npm install rollup-plugin-handlebars --save-dev` (or yarn equivalent).
Use `import handlebars from 'rollup-plugin-handlebars';` (without curly braces).