Skip to content

Namespace 'cssnanoPlugin' has no exported member 'CssNanoOptions' #249

@jslott2sigma

Description

@jslott2sigma

I'm getting the following error when running the typescript compiler on a project that uses this library:

$ yarn tsc --skipLibCheck false
node_modules/rollup-plugin-styles/dist/index.d.ts:337:34 - error TS2694: Namespace 'cssnanoPlugin' has no exported member 'CssNanoOptions'.

337     minimize?: boolean | cssnano.CssNanoOptions;
                                     ~~~~~~~~~~~~~~

Has anyone else seen this? I looked at the cssnano project and couldn't find any reference to CssNanoOptions.

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