first commit

This commit is contained in:
s.golasch
2023-08-01 13:49:46 +02:00
commit 1fc239fd54
20238 changed files with 3112246 additions and 0 deletions

27
build/node_modules/pngout-bin/lib/install.js generated vendored Normal file
View File

@@ -0,0 +1,27 @@
'use strict';
var bin = require('./');
var log = require('imagemin-log');
var path = require('path');
/**
* Install binary and check whether it works
* If the test fails, try to build it
*/
var args = [
path.join(__dirname, '../test/fixtures/test.png'),
path.join(__dirname, '../test/fixtures/test-optimized.png'),
'-s4',
'-c6',
'-y',
];
bin.run(args, function (err) {
if (err) {
log.error(err.stack);
return;
}
log.success('pngout pre-build test passed successfully');
});