...
Note |
---|
If using a subdirectory in a workspace, the workspace name and the nested directories/folders must be added to either searchModulesList searchModulesPaths or the pathlist to find the file. For example, add something like this to the searchModulesListsearchModulesPaths: /workspaceName/folder1/folder2/... |
...
The “searchModulesPaths” option is specified as an array of directories to search.
Code Block | ||
---|---|---|
| ||
searchModulesPathsearchModulesPaths: [ "dir1", "dir1/subdir1", "dir2" ] |
The searchModulesList searchModulesPaths is used to search directory paths for Node.js modules within the modules directory of the Profound.js instance. Like with pathlist
, searchModulesPaths
is used by APIs, such pjs.call(), when a module name is unqualified.
...
Unlike with pathlist
, no IBM i libraries should be specified in the searchModulesPaths
option.
This setting is available in Profound.js versions 7.14.0 and newer.
Click here for information on how to modify this setting.
...