Registry / devops / hexo-minifier-esbuild

hexo-minifier-esbuild

JSON →
library0.1.3jsnpmunverified

A Hexo plugin that minifies static assets (HTML, CSS, JS, images, fonts) using esbuild for fast compression. Current stable version is 0.1.3. It runs as a separate CLI command after hexo generate, rather than as a Hexo filter. Differentiates from other minifiers by leveraging esbuild's speed (especially for JS/CSS) and out-of-the-box image/font support.

npm install hexo-minifier-esbuild
INSTALL
IMPORT
SIG · HEXO-MINIFIER-ESBU
H
hexo-minifier-esbuild
devopsjavascriptv0.1.3
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.

hexo-minifier-esbuild
Run as CLI: npx hexo-minifier-esbuild
const minifier = require('hexo-minifier-esbuild')
No programmatic API. Use CLI after hexo generate.

Install the plugin and add to build script to minify assets after hexo generate.

npm install hexo-minifier-esbuild --save-dev # Then add to package.json scripts: "build": "hexo generate && npx hexo-minifier-esbuild" # Run: npm run build
Debug
Known issues
gotchaDoes not run as a Hexo plugin; must be invoked manually after generate.
fix
Add 'hexo-minifier-esbuild' command after 'hexo generate' in your build script.
affects: >=0.0.1
gotchaNo configuration options provided; minifies all supported types with defaults.
fix
If you need customization, consider other minifiers or fork the package.
affects: >=0.1.0
Errors
Common errors & fixes
Command not found: hexo-minifier-esbuild
Package not installed locally or globally.
fix
Run 'npm install hexo-minifier-esbuild' or use npx.
Upgrade
Version history
0.1.3latest on npm
Audit
Dependencies
esbuildrequiredCore minification engine for JS and CSS
Agent activity
6 hits · last 30 days
node
6
Resources
hexo-minifier-esbuild — npm install hexo-minifier-esbuild · libregistry