1.0.1
require.resolve() is relative to the __dirname of the calling context.
1.0.2