Every line of 'browser image compression' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
85 function imgCompression() { 86 return src(`${paths.images}/*`) 87 .pipe(imagemin()) // Compresses PNG, JPEG, GIF and SVG images 88 .pipe(dest(paths.images)) 89 }