What's Changed
BREAKING CHANGES!
#32 by @fityannugroho :
options.name
andoptions.directory
now can contain extension- Ensure the
originalExtension
is an image extension, throw error if not options.extension
now must be one of supported image extension bysharp
, throw error if not- Use
sharp
to actually convert the image format ifoptions.extension
specified image.directory
now always return absolute path of the output directory
Full Changelog: v0.7.4...v0.8.0