akka-http-scalajs.g8 icon indicating copy to clipboard operation
akka-http-scalajs.g8 copied to clipboard

Provide example with versioned assets

Open mdedetrich opened this issue 8 years ago • 2 comments

An example is provided on how to use standard assets, but it would be great to show how to serve versioned assets using something like https://github.com/sbt/sbt-digest

mdedetrich avatar Oct 13 '17 17:10 mdedetrich

I have attempted to try and implement this myself as a plugin however I have hit a roadblock which you can see here https://github.com/mdedetrich/akka-http-with-scalajs-digest-issue

mdedetrich avatar Oct 14 '17 19:10 mdedetrich

I have made a project here https://github.com/mdedetrich/sbt-digest-reverse-router which should greatly simplify this.

I will wait until https://github.com/sbt/sbt-digest/pull/29 is merged and sbt-digest is released as a new version, and then I will make a new PR in this folder which demonstrates versioned assets using the library

mdedetrich avatar Oct 15 '17 15:10 mdedetrich