-
Notifications
You must be signed in to change notification settings - Fork 62
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
options.replaceInExtensions #73
Comments
??? |
Same problem |
I tried reproducing weilinzung's case, but replacement in JSON files works just fine here. Could you provide the gulp task you're using, and your |
It is actual only export with revision name Current Result: {
"name": "App",
"icons": [
{
"src": "\/android-icon-36x36.png",
"sizes": "36x36",
"type": "image\/png",
"density": "0.75"
},
{
"src": "\/android-icon-48x48.png",
"sizes": "48x48",
"type": "image\/png",
"density": "1.0"
},
{
"src": "\/android-icon-72x72.png",
"sizes": "72x72",
"type": "image\/png",
"density": "1.5"
},
{
"src": "\/android-icon-96x96.png",
"sizes": "96x96",
"type": "image\/png",
"density": "2.0"
},
{
"src": "\/android-icon-144x144.png",
"sizes": "144x144",
"type": "image\/png",
"density": "3.0"
},
{
"src": "\/android-icon-192x192.png",
"sizes": "192x192",
"type": "image\/png",
"density": "4.0"
}
]
}
Expected Result: {
"name": "App",
"icons": [
{
"src": "\/android-icon-36x36-sd5sdffa12.png",
"sizes": "36x36",
"type": "image\/png",
"density": "0.75"
},
...
]
}
|
Yes, but can you show the gulp task that you're using? It's hard to guess what you're doing wrong otherwise. |
sure.
The default thanks! |
The list of globs that you pass to gulp.src(['_site/**/*.jpg','_site/**/*.png','_site/**/*.json','_site/**/*.js','_site/**/*.css','_site/**/*.xml']) |
I don't think that could make the I try what you said, nothing really happens. |
Have you tried using a |
Yes. not working~ I think you don't understand this issue is |
The problem is the list of |
@akixi-johnathonclark |
Hi,
options.replaceInExtensions Type: Array Default: ['.js', '.css', '.html', '.hbs']
For this, would this option support
.json
and.xml
?I add it to my
gulp-rev
code, every types list on the doc is working fine, except.json
and.xml
, all the revision images are not updating within the.json
and.xml
.issue related to: https://github.com/sindresorhus/gulp-rev/issues/214
thanks!
The text was updated successfully, but these errors were encountered: