Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can gulp-rev-replace replace in jade? #48

Closed
YDSS opened this issue Dec 28, 2015 · 2 comments
Closed

can gulp-rev-replace replace in jade? #48

YDSS opened this issue Dec 28, 2015 · 2 comments

Comments

@YDSS
Copy link

YDSS commented Dec 28, 2015

Hi, I'm using gulp-rev-replace for a while and it's fine, until I decide replace "plain html" with template. I found gulp-rev-replace can not replace path in jade, then I read doc and issues and got nothing useful. Does anyone has some advices?

@futuranna
Copy link

You can add jade to the replaceInExtensions

gulp.src('src/**/*.jade')
        .pipe(revReplace({
            replaceInExtensions: ['.jade']
        }))
        .pipe(gulp.dest('dist'));

@andrewkdouglas
Copy link

The above fix is correct, and this should be closed as not a bug

@YDSS YDSS closed this as completed Feb 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants