use of com.github.sommeri.less4j.LessCompiler.Configuration in project webanno by webanno.
the class WicketApplicationBase method initBootstrap.
protected void initBootstrap() {
LessCompilerConfigurationFactory lessConfigFactory = () -> {
Configuration lessConfig = new Configuration();
lessConfig.setCompressing(RuntimeConfigurationType.DEPLOYMENT.equals(getConfigurationType()));
return lessConfig;
};
WicketWebjars.install(this);
BootstrapLess.install(this, lessConfigFactory);
Bootstrap.install(this);
IBootstrapSettings settings = Bootstrap.getSettings(this);
settings.setCssResourceReference(CustomBootstrapLessReference.get());
}
Aggregations