Succss
Succss copied to clipboard
PNG or JPG?
When succss creates ".png" files, it is in fact JPGs!
A file theFile.png
command tells: JPEG image data, JFIF standard 1.01
Succss.options = {
imgType: 'png',
imgQuality: 100,
...
npm install optipng --save-dev
add script to package.json
"optimize": "./node_modules/.bin/optipng css_test/img/*"
And this will be png at the result.