Missing some file in my dist folder when using imagemin
See original GitHub issueHello,
I use a rather classic gulp / cache / imagemin workflow:
gulp.task('cordova:resources', function() {
return gulp.src('resources/**')
.pipe($.cache($.imagemin({
optimizationLevel: 3,
progressive: true,
interlaced: true
})))
.pipe(gulp.dest(path.join(conf.paths.tmp, 'resources')))
.pipe($.size());
});
But with this, some file are not copied to the dest folder?
When removing the $.cache(), everything works well. If I use their file name directly instead instead of a glob, it also works (after clearing the cache)…
Any ideas?
Issue Analytics
- State:
- Created 8 years ago
- Comments:5
Top Results From Across the Web
Missing files when copying from src to dist? - Stack Overflow
They files still missed? Didn´t copy any files at all? I believe that would help posting the folder structure where these files are...
Read more >gulp-imagemin is missing some nested folders. #58 - GitHub
I got this old project, with lots of images scattered under some sub folders, like: js styles images a.jpg b.jpg images c.png index...
Read more >Use Imagemin to compress images - web.dev
Uncompressed images bloat your pages with unnecessary bytes. Run Lighthouse to check for opportunities to improve page load by compressing ...
Read more >rollup-plugin-imagemin - npm Package Health Analysis - Snyk
We found a way for you to contribute to the project! Looks like rollup-plugin-imagemin is missing a security policy. You can connect your...
Read more >Gradle deploy fails while running imagemin:dist
Hi I am trying to install Openspecimen on CentOS 5.8. While issuing the command deploy, it exits with following error: Done, without errors....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll try to wrap this change and a unit test in a PR then 😃
Yes, we’re trying include the file path to
key
by default. https://github.com/jgable/gulp-cache/issues/51#issuecomment-177869896We’d be grateful if you could create a pull request.