Package DE_EPAGES::Presentation::API::YUICompressor
This module provides an API for the Yahoo UI Compressor.
@EXPORT_OK |
Functions
GetYUIJar
Returns the full file path to the YUI compressor jar.
Syntax |
my $CompilerJar = GetYUIJar(); |
Return |
|
MinifyCSS
Minifies the CSS code in the given source file and writes the minfied content to the target file.
Syntax |
MinifyCSS($SourceFilePath, $TargetFilePath); |
Input |
|
MinifyJavaScript
Minifies the javascript source code in the given source file and writes the minfied content to the target file. It is very likely to better use the google closure compiler to get smaller minified files.
Syntax |
MinifyJavaScript($SourceFilePath, $TargetFilePath); |
Input |
|