gulp-rev-replace
gulp-rev-replace copied to clipboard
the plugin can't replace requirejs path in php file
the rev-manifest.json file:

the generating file, replacement not work:

That's because the plugin is looking to replace "js/ci/plan-sort.js", not "ci/plan-sort". You can use the modifyUnreved and modifyReved options to remove the leading js/ folder and the .js extension.
That's because the plugin is looking to replace
"js/ci/plan-sort.js", not"ci/plan-sort". You can use themodifyUnrevedandmodifyRevedoptions to remove the leadingjs/folder and the.jsextension.
Awesome. You saved my life bro. I was looking for this in about a night.