···6868- **Type:** `boolean`
6969- **Default:** `false`
70707171-When a dependency is a valid ESM package, try to guess the cjs version based on the path. This might be helpful, if a dependency has the wrong ESM file.
7171+When enabled, Vitest will try to guess a CommonJS build for an ESM entry by checking a few common CJS/UMD file name and folder patterns (like `.mjs`, `.umd.js`, `.cjs.js`, `umd/`, `cjs/`, `lib/`).
72727373-This might potentially cause some misalignment if a package has different logic in ESM and CJS mode.
7373+This is a best-effort heuristic to work around confusing or incorrect ESM/CJS packaging and may not work for all dependencies.