Hello,
I just got asset fingerprinting working. I'm using play 2.5.13/sbt-digest 1.1.1/font-awesome 4.7.0
This works all good and fine while using routes.Assets.versioned, but i have 3 assets where it doesn't work/pull the digested version.
These seem to be related to url() calls from inside css files.
The first two are font calls. I'll show the font-awesome one here because it should be straightforward, since i'm using the module. It's called from inside the font-awesome css file.
/assets/lib/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0
called from
/assets/lib/font-awesome/css/269550530cc127b6aa5a35925a7de6ce-font-awesome.min.css
Relevant line is:
url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2')
I have the digested versions for the font in both my web server and app assets jar
ls assets/lib/font-awesome/fonts/*fontawesome-webfont.woff2*
assets/lib/font-awesome/fonts/af7ae505a9eed503f8b8e6982036873e-fontawesome-webfont.woff2
assets/lib/font-awesome/fonts/fontawesome-webfont.woff2.md5
jar -tf *assets.jar | grep fontawesome-webfont.woff2
public/lib/font-awesome/fonts/fontawesome-webfont.woff2.md5
public/lib/font-awesome/fonts/af7ae505a9eed503f8b8e6982036873e-fontawesome-webfont.woff2
The last is a css file called from one my bootstrap theme's css files.
/assets/stylesheets/niceAdmin/line-icons.css
called from
/assets/stylesheets/niceAdmin/6e7f7468288f6c306b0f30bfbce3ce7f-style.css
Relevant line is:
@import url(line-icons.css);
Does url() processing not go through the digest pipeline or am I missing something else?
Thanks,
-Tony