refactor: packageManager logic for perf improvement
refactor: packageManager logic for perf improvement

SimenB/webpack,SimenB/webpack,SimenB/webpack,webpack/webpack,SimenB/webpack,webpack/webpack,webpack/webpack,webpack/webpack