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

Optimisationdefaultadvancedlite
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 Thu, 17 Sep 2026 09:47:58 GMT