TL;DR: use> include: function(absPath){ return (/[regex for the module(s) you want to include]/.test(absPath) || /src/.test(absPath)); }, instead of> exclude: /node_modules/,