wrong retina version for files with similar filenames
Closed this issue · 4 comments
toptalo commented
I have several files with similar filenames such as:
menu-greendark-close.png
menu-greendark-close@2x.png
menu-greendark-close-small.png
menu-greendark-close-small@2x.png
Plugin return an error:
Normal sprite has inconsistent size with retina sprite. "./img/sprite/menu-greendark-close.png" is 40x38 while "./img/sprite/menu-greendark-close-small@2x.png" is 40x38.
twolfson commented
Can you add gulp-debug
after gulp.src
and tell us what the output is?
toptalo commented
hmm, how can i add gulp plugin to grunt?
toptalo commented
Sorry, it's my fall I missed some normal-size files!
Thanks!
twolfson commented
Glad to hear the issue got resolved =)