public class AssetCompiler extends Object
Process static files by validate or modify them in some way.
AssetProcessor,
Assets| Constructor and Description |
|---|
AssetCompiler(ClassLoader loader,
com.typesafe.config.Config conf) |
AssetCompiler(com.typesafe.config.Config conf) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
assets(String name) |
Asset |
build(Asset asset) |
Map<String,List<File>> |
build(String dist,
File dir) |
Set<String> |
keySet() |
Set<String> |
patterns() |
List<AssetProcessor> |
pipeline(String dist) |
List<String> |
scripts(String name) |
List<String> |
styles(String name) |
String |
toString() |
public AssetCompiler(com.typesafe.config.Config conf)
throws Exception
Exceptionpublic AssetCompiler(ClassLoader loader, com.typesafe.config.Config conf) throws Exception
Exceptionpublic List<AssetProcessor> pipeline(String dist)
Copyright © 2015. All rights reserved.