You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't see any way to inform gulp-rev-all about what constitutes a match to a file that will have a name change. Specifically, using the require-css plugin, say I have a requirejs shim with spectrum: ["css!../lib/spectrum/spectrum"]. That should be changed to e.g. spectrum: ["css!../lib/spectrum/spectrum.abcd1234"] using the hash of the CSS file at that location.
I looked at providing a custom replacer function, but from debugging, it looks like that runs once for every match, and the css! stuff isn't matched, so it would not run at all in file where that is the only match.
The text was updated successfully, but these errors were encountered:
I don't see any way to inform gulp-rev-all about what constitutes a match to a file that will have a name change. Specifically, using the
require-css
plugin, say I have a requirejs shim withspectrum: ["css!../lib/spectrum/spectrum"]
. That should be changed to e.g.spectrum: ["css!../lib/spectrum/spectrum.abcd1234"]
using the hash of the CSS file at that location.I looked at providing a custom
replacer
function, but from debugging, it looks like that runs once for every match, and thecss!
stuff isn't matched, so it would not run at all in file where that is the only match.The text was updated successfully, but these errors were encountered: