Skip to content
Advertisement

Tag: preprocessor

gulp – exclude a file when minifying CSS

Im new to Gulp.. I have been able to successfully install and concatenate and minify my .js and .css files, however, there is one .css file which i want to exclude – print.css Ive followed the instructions here: https://www.npmjs.org/package/gulp-ignore install gulp-ignore in my local directory, and modified my gulpfile.js to: Within my CSS Task – Secure, i have included .pipe(exclude(‘Secure/css/print.css’))

Advertisement