a quick dirty require.resolve() thing