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

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

matplotlib support failed in PyCharm on OSX -

python - Matplotlib: TypeError: 'AxesSubplot' object is not callable -