Skip to content

pngquant options.quality error  #72

@tuticapi

Description

@tuticapi

When the command bin/build-mysite is run
It shows the error:

  • Module build failed: ArgumentError: Expected options.quality to be of type array but received type string
    image

The solution that I have used is:

Change in the config.js file the value of pngquant.quality to array
like this:

new code

 pngquant: {
   quality: [0.65, 0.90]
   },

old code

pngquant: {
    quality: "65-90",
 },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions