Filestack Documentation

Class Minify​CSSTransform

public class MinifyCSSTransform: Transform  

Minifies your CSS files.

MinifyCSSTransform MinifyCSSTransform Transform Transform MinifyCSSTransform->Transform

Superclass

Transform

:nodoc:

Initializers

init()

public init()  

Initializes a MinifyCSSTransform object.

Methods

level(_:​)

@discardableResult
    func level(_ value: Int) -> Self  

Adds the level option.

Parameters

value Int

Minification level.

gzip(_:​)

@discardableResult
    func gzip(_ value: Bool) -> Self  

Adds the gzip option.

Parameters

value Bool

Whether to compress file and add content encoding gzip header.