-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Depending of some variables, I try to load images like this:
img#logo(src='./assets/images/clanes/{{ vm.clanInfo.media.logo }}')
vm.clanInfo.media.logo is the filename
...but after building the dist, the filename changes from, lets say image.png to image-a759e0a8b9.png, and then It doesn't load.
I know that there is a rev-manifest.json, but I don't really know how to use it to solve this problem client-side :(
I even tried to disable the gulp script that cause it, but I can't find it (I thought it was gulp-asset-hash...but it isn't)
Any insight will be very helpful :)
I can't "try" as I may like to, because at gulp serveeverything works great, just because it didn't hash the names until build. I have to build one and again to try different approaches, and I'm sure that someone may help me understand this problem better and give me some trick to bypass it :) 👍
- I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests.
| Item | Version |
|---|---|
| generator-angular-fullstack | 4.0.0rc |
| Node | 6.3.1 |
| npm | 3.10.3 |
| Operating System | OS X 10 |
| Item | Answer |
|---|---|
| Transpiler | Babel |
| Markup | Jade |
| CSS | SCSS |
| Router | ui-router |
| Client Tests | Mocha |
| DB | MongoDB |
| Auth | Yup |