[image-optimizer] Refactor into lightweight transform module (#97988)
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.
Showing
This diff is collapsed.
Please
register
or
sign in
to comment