next.js
0eb87da2 - fix(turbopack): Split ModulePart into eval vs non-eval (#70782)

Commit
1 year ago
fix(turbopack): Split ModulePart into eval vs non-eval (#70782) ### What? Treat `baz` in the code below as a re-export. ```js import { baz } from '../actions' // Ensure side effects won't affect tree shaking and DCE console.log(1) export { baz } ``` ### Why? It's required to fix tree shaking for client bundles. x-ref: https://vercel.slack.com/archives/C07GX6S95UG/p1727270139934499 ### How? Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
Author
Parents
Loading