We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
My revreplace task is ::-
gulp.task("revreplace", ["revision"], function(){ var manifest = gulp.src("web/public/assets/javascript-build/rev-manifest.json");
return gulp.src("src/Webmuch/HomeBundle/Resources/views/Index/index.html.twig") .pipe(debug({title: 'unicorn:'})) .pipe(revReplace({manifest: manifest,replaceInExtensions: ['.html.twig']})) .pipe(gulp.dest("web/public/assets/javascript-build")); });
when i work with .html files, it replaces the script tags correctly, but not in .html.twig files . How to achieve that ?
The text was updated successfully, but these errors were encountered:
Hi! I use this configuration and works for me. Let me know if I can help you
gulp.task("revreplace", ["revision"], function() { var manifest = gulp.src("web/public/assets/javascript-build/rev-manifest.json"); return gulp.src("path/to/my/file/Index/index.html.twig") .pipe(debug({title: 'unicorn:'})) .pipe(revReplace({manifest: manifest, replaceInExtensions: '.twig'})) .pipe(gulp.dest("web/public/assets/javascript-build/")); });
Sorry, something went wrong.
No branches or pull requests
Hi,
My revreplace task is ::-
gulp.task("revreplace", ["revision"], function(){
var manifest = gulp.src("web/public/assets/javascript-build/rev-manifest.json");
return gulp.src("src/Webmuch/HomeBundle/Resources/views/Index/index.html.twig")
.pipe(debug({title: 'unicorn:'}))
.pipe(revReplace({manifest: manifest,replaceInExtensions: ['.html.twig']}))
.pipe(gulp.dest("web/public/assets/javascript-build"));
});
when i work with .html files, it replaces the script tags correctly, but not in .html.twig files . How to achieve that ?
The text was updated successfully, but these errors were encountered: