resolveModuleFile
Function: resolveModuleFile()
resolveModuleFile(
moduleFolder,info):string
Defined in: packages/core/src/application/application.ts:100
Path of a file referenced by a webda.module.json
The compiler writes a dependency's file as node_modules/<package>/<path>, relative to the module folder. The
dependency is not always nested in it: pnpm (and Bazel rules_js) install it as a sibling of the package, so it
is looked up like Node does, in the node_modules of the module folder then of each parent folder.
Parameters
moduleFolder
string
the folder of the webda.module.json
info
string
the path:export descriptor
Returns
string
the descriptor joined to the folder holding the file (to the module folder when not found)