Skip to content

Chaining in Grunt #5

@thybzi

Description

@thybzi

I have the following chain in my Gruntfile.js

        postcss: {
            files: { /* path here */ },
            options: {
                processors: [
                    require('postcss-url')({ /* options here */ }),
                    require('autoprefixer')({ /* options here */ }),
                    require('postcss-csso')()
                ]
            }
        }

After adding require('postcss-csso')() line, I always get this error:

[TypeError: error.setMessage is not a function]

(In comparison, when adding require('cssnano')(), everything is compiled without errors)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions