paths property

List<String> paths
final

The module paths.

There must be at least 1 path entry for a non-module script to be able to resolve a module. The default value is an empty string, which means that relative paths are relative to the current working directory. Absolute paths are always allowed (unless sanitizePaths is enabled)

The order of the paths in the list determines their priority. However, the current module's path will always be prioritized first (if available).

Implementation

final List<String> paths;