Skip to content

@banana-universe/bananajs


@banana-universe/bananajs / discoverModules

Function: discoverModules()

discoverModules(_opts): Promise<BananaModuleDescriptor[]>

Defined in: packages/bananajs/src/lib/DI/BananaModule.ts:47

Optional convention-based module loading. Not implemented in core — use explicit modules: [...] or generate a manifest at build time. When implemented, results must be sorted by id for stable route order.

Parameters

_opts

DiscoverModulesOptions

Returns

Promise<BananaModuleDescriptor[]>

Released under the MIT License.