Excluding dependencies in wiredep


I’m trying to exclude files and folders from being processed by the wiredep task but everything I have tried from wiredep’s documentation and bower overrides make the gulp task hang by the styles task.

I have tried putting a configuration object in wiredep:
return gulp.src(project.css)
exclude: [‘bower_components/inuitcss/example.main.scss’]

also I have tried using bower overrides putting the dependencies main: “”
“overrides”: {
“inuitcss”: {
“main”: " "

which also make the task hang.

I have place inuitcss the dependency I want ignore as a dev dependency which wiredep ignores but the styles build task still hangs.