Commit 0675bea6 authored by rockyl's avatar rockyl

init

parent 4abed6c5
'use strict'; 'use strict';
const execa = require('execa'); const execa = require('execa');
const isPng = require('is-png'); const isPng = require('is-png');
const path = require('path');
const isStream = require('is-stream'); const isStream = require('is-stream');
//const pngquant = require('pngquant-bin'); //const pngquant = require('pngquant-bin');
const ow = require('ow'); const ow = require('ow');
const pngquant = 'vendor/pngquant'; const pngquant = path.join(__dirname, 'vendor/pngquant');
const imageminPngquant = (options = {}) => input => { const imageminPngquant = (options = {}) => input => {
const isBuffer = Buffer.isBuffer(input); const isBuffer = Buffer.isBuffer(input);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment