convert() public method
Converts a given asset file into a CSS or JS file.
public string convert ( $asset, $basePath )$asset string
The asset file path, relative to $basePath $basePath string
The directory the $asset is relative to. return string
The converted asset file path, relative to $basePath.