Skip to content

Release v2.0.0

Compare
Choose a tag to compare
@firefoxic firefoxic released this 13 Jun 16:26
· 30 commits to main since this release

Changed

  • The favicons command no longer depends on the following options:
    • -i — the path to the directory with the files to be processed is now specified with the -p option;
    • -o — new files are created in the same directory as the original files (i.e., the directory specified by the -p option);
    • -r — the original favicon files are now always deleted after processing is complete.
  • The favicons command now places only the favicon.ico, manifest.webmanifest, and Links.md files in the specified directory, with all other files being placed in the favicons subdirectory. This eliminates the need to manually move the listed files up one level. You only need to extract the link tags code from the Links.md file into your HTML layout and then delete the Links.md file.

Added

  • New CLI option -p (--publicDirectory) for the favicons command, allowing you to specify a directory (public by default) with static assets where the source SVG files for generating favicons are expected.
  • New CLI flag -m (--addMetaData), enabling which when processing raster images additionally generates metadata files in JSON and JS formats.