Common utility functions for the clusternator APIs

Source:

Methods

(inner) src() → {*}

Wraps require, expects an array of strings as arguments. Resolves paths based on the relative location of the source root (transpilation safe0

  • Paths are OS normalized using path
  • Paths are always relative to this file
Source:
Returns:
Type
*
Example
src('server', 'main'); // require('../../server/main');