mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
1cb20a1d14
This PR is strictly a refactor, no logic should change. The idea is that we eventually want to run the image optimizer transform step in a child process. This PR refactors the code to make a new `transform.ts` that is lightweight and should reduce some of the overhead of loading a large module graph when spawning a new process.