use of de.agilecoders.wicket.less.LessCompilerConfigurationFactory 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