Expose a `moduleDirectory` option