Resolves import statements like node.js require statements