(perf) speeding it up.
Merge pull request #311 from stephenplusplus/speed-it-up

Improve performance by using require.resolve() to find the path of the module, but not load until necessary.