[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. Default ["index.mjs", "index.js"] |
resolveMain? | (pkg : any ) => string | When resolution reach package.json returns the path to the file relative to it. Default pkg.main |