Build Transform optimizeCss


Optimizes CSS resources.


“Flattens” CSS resources by expanding all import directives. This can improve download performance by reducing the number of resources as well as the length of serial chains resulting from nested import directives.

Profile Knobs

keepLines (default = 0)
  • [falsy] Remove newlines from CSS resources.
  • [truthy] Do not remove newlines from CSS resources.

Source Location


Error in the documentation? Can’t find what you are looking for? Let us know!