public class Uglify extends AssetProcessor
UglifyJs2 JavaScript parser / mangler / compressor / beautifier toolkit.
assets {
fileset {
home: [js/home.js]
}
pipeline {
...
dist: [uglify]
}
}
assets {
...
uglify {
strict: false
output {
beautify: true
}
}
}
| Constructor and Description |
|---|
Uglify() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(org.jooby.MediaType type) |
String |
process(String filename,
String source,
com.typesafe.config.Config conf) |
public boolean matches(org.jooby.MediaType type)
matches in class AssetProcessorCopyright © 2015. All rights reserved.