Releases: firefoxic/optimize
Releases · firefoxic/optimize
Release v2.0.0
Changed
- The
faviconscommand no longer depends on the following options:-i— the path to the directory with the files to be processed is now specified with the-poption;-o— new files are created in the same directory as the original files (i.e., the directory specified by the-poption);-r— the original favicon files are now always deleted after processing is complete.
- The
faviconscommand now places only thefavicon.ico,manifest.webmanifest, andLinks.mdfiles in the specified directory, with all other files being placed in thefaviconssubdirectory. This eliminates the need to manually move the listed files up one level. You only need to extract thelinktags code from theLinks.mdfile into your HTML layout and then delete theLinks.mdfile.
Added
- New CLI option
-p(--publicDirectory) for the favicons command, allowing you to specify a directory (publicby 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.
Release v1.0.3
Fixed
- The path to
icon-180.png(Apple touch icon) is now correctly generated inLinks.md.
Release v1.0.2
Fixed
- Paths in the
webmanifestare now generated correctly on Windows.
Release v1.0.1
Fixed
- The
conjure faviconscommand now works fine on Windows. - The
webmanifestis now generated with a final newline.
Release v1.0.0
Changed
- Now the
conjure faviconscommand does not generate the entire set of files for each SVG found, including those nested in subdirectories. Instead, this command only works with files in the specified directory and expects at least one oftouch.svg,32.svgand16.svg(preferably only the first two, and the third only if there is such a version in the design). See README.md for details on preparing and working with these files. - Now the
-r(--removeOrigin) option also applies to theconjure faviconscommand.
Added
- Gereration of
Links.mdfile with advice on the code of links for generated files, moving files, and fixing paths to files.
Release v0.1.2
Fixed
- No longer requires
pnpmfor package users.
Release v0.1.1
Fixed
- Paths to icons in the generated webmanifest.
Release v0.1.0
Added
- Basic functionality.