Optimisations
What are optimisations?
An optimisation is a module that performs a transform on some CSS code in order to reduce its size, or failing this, the final gzip size of the CSS. Each optimisation is performed by either one module or a few modules working together.
Supported optimisations
| Optimisation | default | advanced | lite |
|---|---|---|---|
| autoprefixer | ✗ | ✓ | ✗ |
| cssDeclarationSorter | ✗ | ✓ | ✗ |
| calc | ✓ | ✓ | ✗ |
| colormin | ✓ | ✓ | ✗ |
| convertValues | ✓ | ✓ | ✗ |
| discardComments | ✓ | ✓ | ✓ |
| discardDuplicates | ✓ | ✓ | ✗ |
| discardEmpty | ✓ | ✓ | ✓ |
| discardOverridden | ✓ | ✓ | ✗ |
| discardUnused | ✗ | ✓ | ✗ |
| mergeIdents | ✗ | ✓ | ✗ |
| mergeLonghand | ✓ | ✓ | ✗ |
| mergeRules | ✓ | ✓ | ✗ |
| minifyFontValues | ✓ | ✓ | ✗ |
| minifyGradients | ✓ | ✓ | ✗ |
| minifyParams | ✓ | ✓ | ✗ |
| minifySelectors | ✓ | ✓ | ✗ |
| normalizeCharset | ✓ | ✓ | ✗ |
| normalizeDisplayValues | ✓ | ✓ | ✗ |
| normalizePositions | ✓ | ✓ | ✗ |
| normalizeRepeatStyle | ✓ | ✓ | ✗ |
| normalizeString | ✓ | ✓ | ✗ |
| normalizeTimingFunctions | ✓ | ✓ | ✗ |
| normalizeUnicode | ✓ | ✓ | ✗ |
| normalizeUrl | ✓ | ✓ | ✗ |
| normalizeWhitespace | ✓ | ✓ | ✓ |
| orderedValues | ✓ | ✓ | ✗ |
| reduceIdents | ✗ | ✓ | ✗ |
| reduceInitial | ✓ | ✓ | ✗ |
| reduceTransforms | ✓ | ✓ | ✗ |
| svgo | ✓ | ✓ | ✗ |
| uniqueSelectors | ✓ | ✓ | ✗ |
| zindex | ✗ | ✓ | ✗ |
You can read more about presets in our presets guide.
Last updated on Sat, 05 Sep 2026 22:26:49 GMT