dlmanning / gulp-sass

SASS plugin for gulp
MIT License
1.56k stars 381 forks source link

Best practice to remove special comments /*! comment */ #773

Closed yansusanto closed 2 years ago

yansusanto commented 4 years ago

Hi all,

May I know what is the best way to remove special comments /! comment /?

        .pipe(
            sass({
                includePaths: ["node_modules"], 
                outputStyle: 'compressed',
            }).on("error", sass.logError)
        )

How can I get it to have special comments removed?

XhmikosR commented 2 years ago

Yeah, don't use special comments in the first place :)

xzyfer commented 2 years ago

This isn't a Sass feature. We suggest looking at a css minifier plugin.