Huginn Asset Bundler

raw JSON →
0.0.9 verified Sat Apr 25 auth: no javascript maintenance

Huginn Asset Bundler is a plugin for the Huginn static site generator that handles asset bundling (CSS/JS). The current stable version is 0.0.9, with an irregular release cadence (versions tied to Huginn core updates). It integrates via config.yml plugin list and is designed for Huginn 0.1.x and huginn-liquid 0.0.7. Unlike modern build tools, it relies on CoffeeScript and a plugin-based architecture specific to the Huginn ecosystem. The project is low-maintenance and primarily historical.

error Error: Cannot find module 'huginn-asset-bundler'
cause Plugin not installed locally in the project.
fix
Run: npm install huginn-asset-bundler --save
error Error: Plugin 'huginn-asset-bundler' not found
cause Typo in config.yml or plugin not loaded.
fix
Check config.yml for correct plugin name and ensure npm install completed.
error Uncaught Error: Cannot find module 'coffee-script'
cause CoffeeScript is not installed as a dependency.
fix
Run: npm install coffee-script --save
deprecated This package is effectively deprecated: Huginn itself is no longer actively maintained, and this plugin has not been updated for modern Node.js versions.
fix Migrate to a modern static site generator like Eleventy or Hugo.
gotcha This plugin requires huginn-liquid 0.0.7 (listed in versioning). Using a different version may cause incompatibility.
fix Ensure huginn-liquid is installed at version 0.0.7.
gotcha The package name 'huginn-asset-bundler' does not follow the scoped naming convention common for plugins. Ensure it is correctly listed in config.yml without typos.
fix Use exactly 'huginn-asset-bundler' in config.yml plugins list.
breaking This package relies on CoffeeScript, which is no longer popular. Writing custom extensions may be difficult.
fix If extending, write in CoffeeScript or fork and convert to JavaScript.
gotcha The minimum Node.js version is 0.10.x as per engines field. Running on newer Node may cause issues.
fix Use Node.js 0.10.x or fork and update dependencies.
npm install huginn-asset-bundler
yarn add huginn-asset-bundler
pnpm add huginn-asset-bundler

Shows how to enable the Huginn Asset Bundler plugin via config.yml and install it via npm. Run the Huginn build command to trigger asset bundling.

// This package is a Huginn plugin, not a standalone module.
// To use, add to your project's config.yml:
plugins:
  - huginn-asset-bundler
// Then install:
npm install huginn-asset-bundler --save
// And run:
huginn build
// The plugin will automatically bundle assets during site generation.