fix(metro-serializer-esbuild): improve pre-module lookups (#4296)