playframework - Change the folder that WebJars are put in -


i'm using play webjars working great i'd change directory webjar dependencies put. @ moment put in assets/lib.

i possible change location in build.sbt or similar?

if want change url assets accessed can change routes, like:

get   /webjars/*file   controllers.assets.versioned(path="/public/lib", file: asset) 

if want change dir stored in can try set webmoduleslib in build.sbt different dir. can see setting in sbt-web plugin extracts webjars:

https://github.com/sbt/sbt-web/blob/master/src/main/scala/com/typesafe/sbt/web/sbtweb.scala#l37


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -