Closed HectorLS closed 8 years ago
@Tibicenas Did you ever come up with a solution to this problem?
No, i had to disable the filter :S still waiting for a hero
I've since found out that the syntax has changed for restore. So for example, it's .pipe(filterName.restore) now, not .pipe(cssFilter.restore())
Give that a go and let me know if it works for you. (If really depends on what version of gulp-filter you're using though)
Reference: https://www.npmjs.com/package/gulp-filter
That's right, your code should look like this now:
var cssFilter = $.filter('**/*.css', { restore: true });
// code omitted
.pipe(assets)
.pipe(cssFilter)
.pipe($.csso())
.pipe(cssFilter.restore)
// code omitted
I got this error in the cssFilter.restore() ...
But if i modify the cssFilter.restore() and remove that parenthesis, then Plumber talk to me :)
i tried the @annabellor issue-solution but doesn't work