use of org.nustaq.kontraktor.webapp.javascript.HtmlImportShim in project kontraktor by RuedigerMoeller.
the class KontraktorServlet method createDependencyResolver.
protected DynamicResourceManager createDependencyResolver(BldResPath dr) {
DynamicResourceManager drm = new DynamicResourceManager(new File(realRoot), !dr.isCacheAggregates(), dr.getUrlPath(), dr.isMinify(), dr.getBaseDir(), dr.getResourcePath());
HtmlImportShim shim = new HtmlImportShim(dr.getUrlPath());
shim.minify(dr.isMinify()).inline(dr.isInline()).stripComments(dr.isStripComments());
drm.setImportShim(shim);
drm.setTranspilerMap(dr.getTranspilers());
return drm;
}
Aggregations