public class JsPacker extends AbstractFilePacker
Constructor and Description |
---|
JsPacker() |
Modifier and Type | Method and Description |
---|---|
static void |
minifyJS(boolean force)
Create a minified version of all JS found in JCMS.
|
getFilePack, getMinifiedFile, minifyFile
public JsPacker() throws java.io.IOException
java.io.IOException
public static void minifyJS(boolean force)
This method only process css file if minification is enabled through property
"channel.js-packer.compressor.enabled"
.
Only files contained in directories css, plugins and js are processed
force
- set to true to force generation of minified file even if an up to date apparently existsCopyright © 2001-2010 Jalios SA. All Rights Reserved.