Proposed set of rules is an extension to baseUrl based mechanics used by RequireJS or SystemJS.
Core elements of the system are baseUrl and path mappings. Resolution process describes how they are used together.
All non-rooted paths are computed relative to baseUrl. Value of baseUrl is determined as either: