org.webjars.play

Type members

Classlikes

class ReverseRequireJS(_prefix: => String)
class ReverseWebJarAssets(_prefix: => String)

Compile-time DI components

Compile-time DI components

class WebJarModule extends Module
@Singleton
class WebJarsUtil(configuration: Configuration, environment: Environment) extends Logging

WebJars Util

WebJars Util

Config:

webjars.filter-expression can be used to declare a regex for the files that should be looked for when searching within WebJars. By default all files are searched for.

webjars.cdn-url overrides the default CDN url (https://cdn.jsdelivr.net/webjars)

webjars.use-cdn toggles the CDN