Skip to main content

cssnano

Use this skill when the user wants to optimize and minify CSS for production — reduce file size, merge rules, drop duplicates, and compress colors via PostCSS.

Quellinformationen

Repository
javimosch/supercli
Letzte Quellaktivität
22. Mai 2026 um 22:09
Erkannte Sprache von SKILL.md
Englisch
Sterne
51
Forks
7

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
cssnano
description
Use this skill when the user wants to optimize and minify CSS for production — reduce file size, merge rules, drop duplicates, and compress colors via PostCSS.
# cssnano Plugin cssnano minifies and optimizes CSS using PostCSS plugins. Reduces file size by removing whitespace, merging rules, and normalizing values. ## Commands - `cssnano _ _ <args>` — Passthrough ## Usage Examples - "minify styles.css to styles.min.css" - "optimize all CSS files in a directory" - "preview optimization results without writing" - "merge multiple CSS files and optimize" ## Installation ```bash npm install -g cssnano ``` ## Key Features - Whitespace and comment removal - Rule merging and consolidation - Duplicate selector elimination - Color compression and normalization - Value optimization (z-index, calc, etc.) - Font-face and keyframe deduplication - PostCSS plugin ecosystem support - Configurable optimization presets
Auf GitHub ansehen