Can't get gulp-rev-replace working with gulp-useref

后端 未结 2 1762
栀梦
栀梦 2021-01-25 09:17

Continuing my previous question - but this time is the next step: getting file revisions to work.

I\'m working through johnpapa\'s course on automation with Gulp and see

2条回答
  •  广开言路
    2021-01-25 09:33

    You have to add replaceInExtensions: '.jsp' to your options for revReplace().

    I had this problem for a day and a half before I looked at the plugin code and figured it out. I'm using .php files. The documentation does say you need to do this but it's easily missed.

    Hope it helps.

提交回复
热议问题