-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
Option base
do nothing
#150
Comments
Is there any feedback on this issue? As I think I'm having the same problem on v 7.0.0. |
Just a bit of my personal opinion about this issue. Some investigate of the reason: if you take a look at the implementation of for example if you have: .pipe(rev.manifest({
base: 'public/build'
}))
.pipe(gulp.dest('path/to')) by default the path of manifest file is And the final path to rev-manifest.json is: So use .pipe(rev.manifest({
base: 'public/build',
path: 'public/build/rev-manifest.json'
}))
.pipe(gulp.dest('path/to')) now the It might be better to hidden the details of I did a bit changes to |
Whether you define
base
option in manifest or not the result is the same.Probably its better to use
var revisionedFile = relPath(opts.base || file.base, file.path);
instead.The text was updated successfully, but these errors were encountered: