You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most/all of the images in the app can be losslessly shrunk. This means they can be encoded better and still have pixel-for-pixel parity with what is currently in this repository.
That saves megabytes off of the final application size.
Solving this issue permanently requires to add a script to package.json which will optimize vector images (SVGs) and possibly raster images. This could be implemented as a test case -- test passes if all SVG = optimized(SVG).
Work plan
Find a suitable SVG optimizer, like https://www.npmjs.com/package/svgo and find the right command line or a small script which optimizes an SVG
Integrate this into the test scripts
Follow on work
After the above, if there is additional scope available to optimize raster images then we can use a different approach. This is because raster optimization is much slower.
The text was updated successfully, but these errors were encountered:
fulldecent
added a commit
to fulldecent/decrediton
that referenced
this issue
May 19, 2019
Most/all of the images in the app can be losslessly shrunk. This means they can be encoded better and still have pixel-for-pixel parity with what is currently in this repository.
That saves megabytes off of the final application size.
Solving this issue permanently requires to add a script to package.json which will optimize vector images (SVGs) and possibly raster images. This could be implemented as a test case -- test passes if all SVG = optimized(SVG).
Work plan
Follow on work
After the above, if there is additional scope available to optimize raster images then we can use a different approach. This is because raster optimization is much slower.
The text was updated successfully, but these errors were encountered: