vsanse/iMinify

View on GitHub
engine.js

Summary

Maintainability
A
1 hr
Test Coverage

Function optimizejpg has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    optimizejpg(imgpath, outputPath, imgQuality, isProgressive, lossless) {
        if(!lossless){
            imagemin([`${imgpath}/*.jpg`, `${imgpath}/*.jpeg`], outputPath, {
                use: [
                    imageMozJpeg({
Severity: Minor
Found in engine.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status