pngquant-bin
Advanced tools
Comparing version 7.0.1 to 7.0.2
@@ -13,6 +13,5 @@ import process from 'node:process'; | ||
const libpng = process.platform === 'darwin' ? 'libpng' : 'libpng-dev'; | ||
try { | ||
const source = fileURLToPath(new URL('../vendor/source/pngquant.tar.gz', import.meta.url)); | ||
await binBuild.file(source, [ | ||
@@ -26,3 +25,2 @@ 'rm ./INSTALL', | ||
} catch (error) { | ||
error.message = `pngquant failed to build, make sure that ${libpng} is installed`; | ||
console.error(error.stack); | ||
@@ -29,0 +27,0 @@ |
{ | ||
"name": "pngquant-bin", | ||
"version": "7.0.1", | ||
"version": "7.0.2", | ||
"description": "`pngquant` wrapper that makes it seamlessly available as a local dependency", | ||
@@ -5,0 +5,0 @@ "license": "GPL-3.0+", |
111271
46