---
jsApi: true
title: "[I] ResolveModuleOptions"

---
## Properties

| Property | Type | Description |
| :------ | :------ | :------ |
| `baseDir` | `string` | - |
| `directoryIndexFiles?` | `string`[] | When resolution reach a directory without package.json look for those files to load in order.<br /><br />**Default**<br />` ["index.mjs", "index.js"] ` |
| `resolveMain?` | (`pkg`) => `string` | - |
