Registry / devops / abell-css-minifier

abell-css-minifier

JSON →
library1.0.0jsnpmunverified

Abell CSS Minifier is a plugin for the Abell static site generator that minifies static CSS files. Version 1.0.0 (current) works with Abell ^0.6.4. It has zero runtime dependencies and operates as a build plugin. Unlike general CSS minifiers, it integrates directly into the Abell plugin system, automatically processing CSS during the build. The plugin is rarely updated, last released in 2020, and is intended for users of the Abell framework who want a simple, dependency-free minification step for static CSS assets.

npm install abell-css-minifier
INSTALL
IMPORT
SIG · ABELL-CSS-MINIFIER
A
abell-css-minifier
devopsjavascriptv1.0.0
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
module.exports = { plugins: ['abell-css-minifier'] }
const abellCssMinifier = require('abell-css-minifier')
This is an Abell plugin, not a directly callable function. It should be added to the plugins array in abell.config.js.

Shows how to configure abell-css-minifier as a plugin in an Abell project, specifying the path to CSS files.

// abell.config.js module.exports = { plugins: ['abell-css-minifier'], minifier: { cssPath: 'static/css' } }
Debug
Known issues
gotchaThe plugin only processes static CSS files in the specified directory, not inline styles or CSS imported in JavaScript.
fix
Ensure all static CSS files are placed in the cssPath directory. Inline styles must be minified separately.
affects: all
breakingThe plugin is designed for Abell v0.6.4 and may not work with newer versions of Abell.
fix
Check Abell version compatibility. If using a newer Abell, look for an updated version or alternative plugin.
affects: >=1.0.0
gotchaThe minifier does not accept advanced options; it simply minifies all CSS files in the given path using basic minification.
fix
Use a dedicated CSS minification tool like clean-css or cssnano if you need more control.
affects: all
Errors
Common errors & fixes
Cannot find module 'abell-css-minifier'
The plugin is not installed or not in node_modules.
fix
Run 'npm install --save-dev abell-css-minifier' in your project root.
abell-css-minifier: Please specify minifier.cssPath
The required 'cssPath' configuration is missing from abell.config.js.
fix
Add 'minifier: { cssPath: "static/css" }' to your abell.config.js.
ENOENT: no such file or directory, scandir '<path>/static/css'
The specified cssPath directory does not exist.
fix
Create the directory or update the cssPath to point to an existing directory containing CSS files.
Upgrade
Version history
1.0.0latest on npm
Audit
Dependencies
abellrequiredPeer dependency; plugin is designed to be used as a plugin in an Abell project.
Agent activity
47 hits · last 30 days
node
38
OpenAI (training)
1
Resources
abell-css-minifier — npm install abell-css-minifier · libregistry