Skip to main content

COCOON_BUNDLE_PROBE

Constant COCOON_BUNDLE_PROBE 

Source
const COCOON_BUNDLE_PROBE: &str = "../Cocoon/Target/Bootstrap/Implementation/CocoonMain.js";
Expand description

Relative path from the resolved Cocoon package root to the bundled entry module. Used by the pre-flight guard below to fail fast with an actionable error when the bundle is missing (esbuild failure, partial rm -rf, freshly cloned checkout without pnpm run prepublishOnly, etc.) instead of spawning Node into a dying require() chain.