Closed aeirola closed 4 years ago
Skips regenrating PNG images which already exist. This can happen if the metro bundler cache is cleared, but old PNG images still exist on the filesystem.
Also defers loading of the sharp library until we actually need to generate an image.
Skips regenrating PNG images which already exist. This can happen if the metro bundler cache is cleared, but old PNG images still exist on the filesystem.
Also defers loading of the sharp library until we actually need to generate an image.