October\Rain\Assetic\Filter\JSMinFilter

Overview

JSMinFilter filters assets through JsMin.

All credit for the filter itself is mentioned in the file itself.

Implements
  • October\Rain\Assetic\Filter\FilterInterface

Public Methods

public filterDump()

public filterDump($asset): void

filterDump will use JSMin to minify the asset and checks the filename for "min.js" to issues arising from double minification.

public filterLoad()

public filterLoad($asset): void