Revert "esm: convert resolve
hook to synchronous"
#43526
+127
−216
Merged