Instead of manually downloading the cwebp binary at publish time, let's try using Dart's build hooks to download the appropriate binary at build time. Advantages include smaller package upload sizes and downloading only the binary for the host's OS (right now, the package always contains five binaries for all supported OS+arch combinations.
Instead of manually downloading the
cwebpbinary at publish time, let's try using Dart's build hooks to download the appropriate binary at build time. Advantages include smaller package upload sizes and downloading only the binary for the host's OS (right now, the package always contains five binaries for all supported OS+arch combinations.