HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/ZelfVerkopen/zelfverkopen.nl/node_modules/pngquant-bin/lib/index.js
'use strict';
var path = require('path');
var BinWrapper = require('bin-wrapper');
var pkg = require('../package.json');

var url = 'https://raw.github.com/imagemin/pngquant-bin/v' + pkg.version + '/vendor/';

module.exports = new BinWrapper()
	.src(url + 'macos/pngquant', 'darwin')
	.src(url + 'linux/x86/pngquant', 'linux', 'x86')
	.src(url + 'linux/x64/pngquant', 'linux', 'x64')
	.src(url + 'freebsd/x64/pngquant', 'freebsd', 'x64')
	.src(url + 'win/pngquant.exe', 'win32')
	.dest(path.join(__dirname, '../vendor'))
	.use(process.platform === 'win32' ? 'pngquant.exe' : 'pngquant');