next.js
428616e1 - Turbopack: refactor side effects optimization (#82466)

Commit
264 days ago
Turbopack: refactor side effects optimization (#82466) ### What? Refactors the side effects optimization. * Gets rid of the `<module evaluation>` and the `<exports>` module. * Only two modules: `<local>` and the facade. * The local module has all the evaluation side effects and local exports. * The facade reexports the local module and all reexports of the module. * `require()` and `import *` will resolve to the facade module * `import "..."` will resolve to the locals * `import { x } from "..."` will follow reexports and finally imports from a locals module
Author
Parents
Loading