Registry / devops / fis-optimizer-rjy-html-minifier

fis-optimizer-rjy-html-minifier

JSON →
library0.1.1jsnpmunverified

A FIS optimizer plugin that compresses HTML using html-minifier. Version 0.1.1 is the latest. It integrates with the FIS build system to minify HTML output during the build process. This plugin is specific to the FIS ecosystem and relies on the html-minifier library for actual minification. It has low release cadence and minimal maintenance.

npm install fis-optimizer-rjy-html-minifier
INSTALL
IMPORT
SIG · FIS-OPTIMIZER-RJY-
F
fis-optimizer-rjy-html-minifier
devopsjavascriptv0.1.1
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 export
module.exports = require('fis-optimizer-rjy-html-minifier');
import optimizer from 'fis-optimizer-rjy-html-minifier';
This package is CommonJS, not ES module.

Registers the plugin with FIS and sets it as the HTML optimizer.

const fis = require('fis'); fis.require('fis-optimizer-rjy-html-minifier'); fis.config.set('modules.optimizer.html', 'rjy-html-minifier'); // Then run fis release -o to optimize HTML
Debug
Known issues
deprecatedThe plugin uses an old version of html-minifier which may have security issues.
fix
Update to newer version or consider alternative solutions.
affects: 0.1.1
gotchaMust be used with FIS build system; not standalone.
fix
Ensure FIS is installed and configured.
affects: *
Errors
Common errors & fixes
Error: Cannot find module 'html-minifier'
html-minifier not installed as dependency
fix
npm install html-minifier
TypeError: fis.require is not a function
Incorrect usage in newer FIS versions
fix
Use fis.plugin() or fis.match().use() instead.
Upgrade
Version history
0.1.1latest on npm
Audit
Dependencies
html-minifierrequiredCore compression logic
fisrequiredPlugin host framework
Agent activity
4 hits · last 30 days
node
4
Resources
fis-optimizer-rjy-html-minifier — npm install fis-optimizer-rjy-html-minifier · libregistry