Registry / devops / abell-html-minifier

abell-html-minifier

JSON →
library1.0.2jsnpmunverified

An AbellJS plugin that minifies HTML output for improved performance. Version 1.0.2 requires abell ^0.5.0. It provides a simple plugin integration and offers configuration options for minification behavior. Release cadence is unknown; no recent updates. Differentiators include being minimal and designed specifically for the Abell static site generator, unlike general-purpose minifiers.

npm install abell-html-minifier
INSTALL
IMPORT
SIG · ABELL-HTML-MINIFIE
A
abell-html-minifier
devopsjavascriptv1.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default plugin
// In abell.config.js module.exports = { plugins: ['abell-html-minifier'], }
// Wrong: requiring the package directly or importing as a function const minifier = require('abell-html-minifier');
Plugin is used by adding the package name to the plugins array in abell.config.js. No direct import is needed.

Install the plugin and add it to the abell.config.js plugins array to minify HTML output.

// Install the plugin npm install --save-dev abell-html-minifier // abell.config.js module.exports = { plugins: ['abell-html-minifier'], }
Debug
Known issues
gotchaRequires abell ^0.5.0. Using with newer versions of Abell may cause compatibility issues.
fix
Ensure your project uses abell version 0.5.x or pin the minifier version to one that matches your Abell version.
affects: >=1.0.0
deprecatedNo updates since initial release; may be unmaintained. Check for breaking changes in Abell before using.
fix
Test with your Abell version or consider alternative minification methods.
affects: >=1.0.0
gotchaPlugin only works when used as a plugin in abell.config.js; cannot be used as a standalone minifier.
fix
Use the plugin within an Abell project. For standalone minification, use a different tool like html-minifier-terser.
affects: >=1.0.0
Errors
Common errors & fixes
Error: Cannot find module 'abell-html-minifier'
Package not installed or not in node_modules.
fix
Run `npm install --save-dev abell-html-minifier`.
TypeError: abellHtmlMinifier is not a function
Trying to use the package as a function instead of a plugin string.
fix
Use the package name as a string in the plugins array: `plugins: ['abell-html-minifier']`.
Upgrade
Version history
1.0.2latest on npm
Audit
Dependencies
abellrequiredpeer dependency; plugin requires Abell static site generator (^0.5.0) to function
Agent activity
61 hits · last 30 days
node
52
OpenAI (training)
1
Resources
abell-html-minifier — npm install abell-html-minifier · libregistry