mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-04 08:04:37 +08:00
The build-time probe loads island package modules to decide their deferral. A package can require a file outside node_modules (a program module it shares, or any project file), and that file evaluated on the build machine. The probe's resolve hook now throws for a file outside every node_modules directory before it evaluates, so the module that asked for it stays eager. This also covers a program module passed to the probe directly.