Registry / devops / interlock-html-minifier

interlock-html-minifier

JSON →
library0.1.0jsnpmunverified

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.

npm install interlock-html-minifier
INSTALL
IMPORT
SIG · INTERLOCK-HTML-MIN
I
interlock-html-minifier
devopsjavascriptv0.1.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.

interlock-html-minifier
import minifier from 'interlock-html-minifier'
const minifier = require('interlock-html-minifier')
ESM-only package; CommonJS require is not supported.

Shows basic usage of interlock-html-minifier plugin with Interlock configuration.

// Install: npm install interlock-html-minifier import minifier from 'interlock-html-minifier'; import Interlock from 'interlock'; const config = { entry: './src/index.html', output: { path: './dist' }, plugins: [minifier({ removeComments: true, collapseWhitespace: true })] }; const build = new Interlock(config); build.run().then(() => console.log('Build complete'));
Debug
Known issues
gotchaPlugin is designed exclusively for Interlock v0.x; incompatible with other build systems.
fix
Ensure you are using Interlock as the build system.
affects: >=0.0.0
Errors
Common errors & fixes
Cannot find module 'interlock-html-minifier'
Package not installed or not in node_modules.
fix
Run `npm install interlock-html-minifier --save-dev`
Upgrade
Version history
0.1.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
interlock-html-minifier — npm install interlock-html-minifier · libregistry