gulp-rev-replace icon indicating copy to clipboard operation
gulp-rev-replace copied to clipboard

the plugin can't replace requirejs path in php file

Open Flourad opened this issue 8 years ago • 2 comments

the rev-manifest.json file:

image

the generating file, replacement not work:

image

Flourad avatar Oct 21 '17 07:10 Flourad

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.

TheDancingCode avatar Mar 28 '18 09:03 TheDancingCode

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.

Awesome. You saved my life bro. I was looking for this in about a night.

fsevenm avatar Jul 03 '20 22:07 fsevenm