tschaub / gulp-newer

Pass through newer source files only
https://npmjs.org/package/gulp-newer
226 stars 24 forks source link

Logic in extra #80

Open curseshadow opened 3 years ago

curseshadow commented 3 years ago

Hi,

is there anyway that we can add logic to ignore certain files/folder in extra options? something like this maybe?

.pipe(newer({dest: config.destCssDir, ext: '.css', extra: [config.sassPath + '/**/*.scss', '!' + config.sassPath + '/pages/*.scss']}))