public final class MinificationUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
minify(String absolutePath)
Minifies a JS or CSS file to a corresponding JS or CSS file
|
static void |
preprocess(String absolutePath)
Compiles a LESS or SASS file to a corresponding CSS file
|
static void |
setBasePath(String path) |
static void |
setConfig(Config configuration) |
public static void setBasePath(String path)
public static void setConfig(Config configuration)
public static void minify(String absolutePath)
absolutePath - The absolute path to the filepublic static void preprocess(String absolutePath)
absolutePath - The absolute path to the fileCopyright © 2016. All rights reserved.