Since we only plan to run in ES5 environments, we could probably do something like this:
```js
var excludes = parentCtx.config.excludes;
return excludes && excludes.indexOf(moduleStr);
```

Would that work?