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, I have an output of app.js. gulp-rev-all seems can't rename file name in index.html.
May I know how to fix this?
.pipe(concat('app.js')) .pipe(RevAll.revision()) .pipe(gulp.dest('public')) .pipe(RevAll.manifestFile()) .pipe(gulp.dest('public')) .pipe(RevAll.versionFile()) .pipe(gulp.dest('public'));
The text was updated successfully, but these errors were encountered:
You need to make sure that all the necessary files (including the index.html file) are part of your Gulp task source.
index.html
For example, your gulpfile.js should contain something like:
gulpfile.js
const revAll = () => { return gulp.src('target/minified/**/*') .pipe(RevAll.revision({ dontRenameFile: ['.html'] })) .pipe(gulp.dest('dist')); }; gulp.task('revision', revAll);
Sorry, something went wrong.
No branches or pull requests
Hi,
I have an output of app.js.
gulp-rev-all seems can't rename file name in index.html.
May I know how to fix this?
<script src="app.js"></script>.pipe(concat('app.js'))
.pipe(RevAll.revision())
.pipe(gulp.dest('public'))
.pipe(RevAll.manifestFile())
.pipe(gulp.dest('public'))
.pipe(RevAll.versionFile())
.pipe(gulp.dest('public'));
The text was updated successfully, but these errors were encountered: