legacyResolve was introduced in 2.1.3