titanium-sdk
titanium-sdk copied to clipboard
fix(android): bundle webp res files
looks like there is a file that collects all image types in the build process and webp
was not an option in there :) Downside: if you use assets/android/images/res-xxxhdpi/
with a webp file it won't include that.
Using Android Studio you can see that it only includes res files for JPG images (or PNG):
the webp file doesn't have dpi folders.
With this PR:
Tests I've also added a visual test with /res files. Currently only for a xxhdpi emulator. I had to downgrade strip-ansi again as that version was an ESM version and the tests wouldn't open. 6.0.1 is the last non ESM version for now