{"id":41300,"library":"interlock-html-minifier","title":"interlock-html-minifier","description":"interlock-html-minifier is a plugin for the Interlock build system that minifies HTML files during the bundling process. Version 0.1.0 is the initial release, with no established release cadence. It differs from general HTML minifiers by integrating directly into Interlock's plugin ecosystem, allowing seamless HTML minification as part of the build pipeline. It likely uses a minifier like html-minifier under the hood, but provides a tailored Interlock integration.","status":"active","version":"0.1.0","language":"javascript","source_language":"en","source_url":"https://github.com/interlockjs/plugins","tags":["javascript"],"install":[{"cmd":"npm install interlock-html-minifier","lang":"bash","label":"npm"},{"cmd":"yarn add interlock-html-minifier","lang":"bash","label":"yarn"},{"cmd":"pnpm add interlock-html-minifier","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"ESM-only package; CommonJS require is not supported.","wrong":"const minifier = require('interlock-html-minifier')","symbol":"interlock-html-minifier","correct":"import minifier from 'interlock-html-minifier'"}],"quickstart":{"code":"// Install: npm install interlock-html-minifier\nimport minifier from 'interlock-html-minifier';\nimport Interlock from 'interlock';\n\nconst config = {\n  entry: './src/index.html',\n  output: { path: './dist' },\n  plugins: [minifier({\n    removeComments: true,\n    collapseWhitespace: true\n  })]\n};\n\nconst build = new Interlock(config);\nbuild.run().then(() => console.log('Build complete'));","lang":"javascript","description":"Shows basic usage of interlock-html-minifier plugin with Interlock configuration."},"warnings":[{"fix":"Ensure you are using Interlock as the build system.","message":"Plugin is designed exclusively for Interlock v0.x; incompatible with other build systems.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"search_vec":"'0.1.0':26 'allow':50 'build':15,58 'bundl':23 'cadenc':35 'differ':37 'direct':44 'ecosystem':49 'establish':33 'file':20 'general':39 'hood':71 'html':3,7,19,40,52,67 'html-minifi':66 'initi':29 'integr':43,77 'interlock':2,6,14,46,76 'interlock-html-minifi':1,5 'javascript':78 'like':61,65 'minif':53 'minifi':4,8,18,41,64,68 'part':55 'pipelin':59 'plugin':11,48 'process':24 'provid':73 'releas':30,34 'seamless':51 'system':16 'tailor':75 'use':62 'version':25","created_at":"2026-06-04T18:51:44.785540+00:00","updated_at":"2026-06-04T18:51:44.785540+00:00","problems":[{"fix":"Run `npm install interlock-html-minifier --save-dev`","cause":"Package not installed or not in node_modules.","error":"Cannot find module 'interlock-html-minifier'"}],"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":"https://github.com/interlockjs/plugins/packages/html-minifier#readme","github":"https://github.com/interlockjs/plugins","docs":null,"changelog":null,"pypi":null,"npm":"interlock-html-minifier","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}}