Registry / devops / fis3-postprocessor-stylefmt

fis3-postprocessor-stylefmt

JSON →
library2.0.0jsnpmunverified

A CSS formatter plugin for fis3 build tool, based on stylefmt. Version 2.0.0 is stable. It formats CSS, SCSS, Less, and SSS files within fis3 pipelines. Use it as a postprocessor in fis3 configuration. The package has low maintenance cadence as stylefmt is deprecated in favor of stylelint. Key differentiator: integrates stylefmt directly into fis3 builds, simplifying formatting setup.

npm install fis3-postprocessor-stylefmt
INSTALL
IMPORT
SIG · FIS3-POSTPROCESSOR
F
fis3-postprocessor-stylefmt
devopsjavascriptv2.0.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.

plugin
fis.plugin('stylefmt')
require('fis3-postprocessor-stylefmt')
The plugin is registered as a fis3 plugin, not directly required. Call fis.plugin('stylefmt') inside fis-conf.js.

Shows how to install and configure the stylefmt plugin in fis3 to format CSS/SCSS/Less/SSS files during build.

// Install globally npm install --global fis3-postprocessor-stylefmt // fis-conf.js fis.match('*.{css,scss,less,sss}', { postprocessor: fis.plugin('stylefmt') }); // Then run: fis3 release // The plugin will format CSS files during build.
Debug
Known issues
deprecatedstylefmt is deprecated in favor of stylelint --fix.
fix
Consider migrating to stylelint with --fix option for CSS formatting.
affects: >=2.0.0
gotchaThe plugin must be installed globally or locally with fis3.
fix
Use npm install --global fis3-postprocessor-stylefmt or npm install --save-dev fis3-postprocessor-stylefmt and ensure it's in node_modules.
affects: >=2.0.0
gotchaThe file extension patterns in fis.match may cause double processing if not careful.
fix
Ensure only one postprocessor is applied per file type to avoid conflicts.
affects: >=2.0.0
Errors
Common errors & fixes
Error: Cannot find module 'fis3-postprocessor-stylefmt'
Plugin not installed or not in global node_modules
fix
Run npm install --global fis3-postprocessor-stylefmt and ensure fis3 can find global modules.
TypeError: fis.plugin is not a function
fis3 not properly initialized or used outside of fis-conf.js
fix
Ensure the code is inside fis-conf.js and fis3 is required/imported correctly.
Upgrade
Version history
2.0.0latest on npm
Audit
Dependencies
stylefmtrequiredCore formatting engine for CSS files
fis3requiredRequired build tool; plugin runs inside fis3 pipeline
Agent activity
4 hits · last 30 days
node
4
Resources
fis3-postprocessor-stylefmt — npm install fis3-postprocessor-stylefmt · libregistry