Skip to content

Add image compression in automation #47

@TamimiGitHub

Description

@TamimiGitHub

in the ./export.sh script, include a step to iterate over all the assets in the img dir and compress all the images
For example
https://www.npmjs.com/package/compress-images

Notes:

  1. Once an npm package is installed, the cli executable can be accessed from node_modules/<name_of_package>/bin
  2. Rename compressed images to -compress. (or similar) to avoid recompressing already compressed images
  3. Add exception handling to image extensions that is not supported by the compression cli tool. There are alot of weird extensions for images

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions