Removed the need for require.resolve