- fix(turbopack): Do not create invalid `EcmascriptModulePartAsset` by kdy1 · Pull Request #70016 · vercel/next.js
- What? EcmascriptModulePartAsset is invalid if the splitting is failed. We now carefully create it, only when the original module is splitable. Why? This is part of the tree-shaking PR. How?
這顯然是個非常小的變動,小到可以說是邏輯上完全正確的,但測試案例卻失敗了。問題是,根本找不到原因…
所以,儘管週末是生日,但我還是做了很多苦力。我根據檔案名稱,對部分檔案套用舊邏輯,試圖找出哪些檔案與新邏輯不兼容。
我這樣一個個地做了很多苦力,
最終找到了有問題的測試案例。但那個檔案的內容是
而已。由於感覺除錯會花很長時間,所以我停用了相關的測試案例。
评论0