Turbopack: uncell RequireContextValue (#75683)
This might make a difference if the `RequireContextMap` is huge and used across many files More importantly, this seems to solve this failure in the testing backend on https://github.com/vercel/next.js/pull/75440: ``` called 'Result::unwrap()' on an 'Err' value: Cell is empty Stack backtrace: 0: <anyhow::Error>::msg::<&str> 1: <turbo_tasks::backend::TypedCellContent>::cast::<turbopack_emascript::analyzer::RequireContextValue> 2: <turbo_tasks::vc::read::ReadVcFuture<turbopack_ecmascript::analyzer::RequireContextValue> as core::future::future::Future>::poll 3: turbopack_ecmascript::analyzer::well_known::replace_well_known::{closure#0} 4: turbopack_ecmascript::analyzer::linker::visit::<mod::analyzer::bench_link::{closure#0}::{closure#0}::{closure#0}::{closure#0}, turbopack_emascript: analyzer: it {closure#0}>::{closure#0} ```
Showing
Please
register
or
sign in
to comment