{"id":41228,"library":"hexo-minifier-esbuild","title":"Hexo Minifier Esbuild","description":"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.","status":"active","version":"0.1.3","language":"javascript","source_language":"en","source_url":null,"tags":["javascript"],"install":[{"cmd":"npm install hexo-minifier-esbuild","lang":"bash","label":"npm"},{"cmd":"yarn add hexo-minifier-esbuild","lang":"bash","label":"yarn"},{"cmd":"pnpm add hexo-minifier-esbuild","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Core minification engine for JS and CSS","package":"esbuild","optional":false}],"imports":[{"note":"No programmatic API. Use CLI after hexo generate.","wrong":"const minifier = require('hexo-minifier-esbuild')","symbol":"hexo-minifier-esbuild","correct":"Run as CLI: npx hexo-minifier-esbuild"}],"quickstart":{"code":"npm install hexo-minifier-esbuild --save-dev\n# Then add to package.json scripts:\n\"build\": \"hexo generate && npx hexo-minifier-esbuild\"\n# Run:\nnpm run build","lang":"bash","description":"Install the plugin and add to build script to minify assets after hexo generate."},"warnings":[{"fix":"Add 'hexo-minifier-esbuild' command after 'hexo generate' in your build script.","message":"Does not run as a Hexo plugin; must be invoked manually after generate.","severity":"gotcha","affected_versions":">=0.0.1"},{"fix":"If you need customization, consider other minifiers or fork the package.","message":"No configuration options provided; minifies all supported types with defaults.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'0.1.3':25 'asset':10 'box':59 'cli':31 'command':32 'compress':20 'css':12 'current':21 'differenti':42 'esbuild':3,17,48 'especi':51 'fast':19 'filter':41 'font':15 'generat':35 'hexo':1,5,34,40 'html':11 'imag':14 'image/font':60 'javascript':62 'js':13 'js/css':53 'leverag':47 'minifi':2,8,45 'out-of-the-box':55 'plugin':6 'rather':36 'run':27 'separ':30 'speed':50 'stabl':22 'static':9 'support':61 'use':16 'version':23","created_at":"2026-06-04T18:51:23.878946+00:00","updated_at":"2026-06-04T18:51:23.878946+00:00","problems":[{"fix":"Run 'npm install hexo-minifier-esbuild' or use npx.","cause":"Package not installed locally or globally.","error":"Command not found: hexo-minifier-esbuild"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"hexo-minifier-esbuild","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-04","next_check":"2026-09-02","install_tag":null}}