Assets.json file paths

I’ve been experiencing a little bit with sage’s gulpfile (just for fun) and I stumbled across something I’m not managing to understand.

If I use the ‘gulp-rev’ package to generate a assets.json using a regular stream (that came only from a gulp.src call), both keys and values are saved as “/dist/styles/filename”,"/dist/styles/filename-hash".

However, the manifest call within ‘writetoManifest’ generates a file with both keys and values as only the files names.

Is there any reason for this behaviour? Is it possible to get the keys and values as the “full asset path”?


1 Like