resolve

fun resolve(): dynamic

Resolves this reference via JS require, returning null if module or any segment of path can't be found.