Skip to content

Add option to remove whitelisting comments #121

Description

@benface

Would it be possible to add an option to remove these comments after they are processed?

/*! purgecss ignore */
/*! purgecss start ignore */
/*! purgecss end ignore */

I am using Laravel-Mix which already cleans comments in production mode, but I have to add a ! at the beginning of the above comments (clean-css calls those "special comments") to prevent them from being removed before PurgeCSS has a chance to see them.

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