Patch Changes
-
3dec017: Fix cache invalidation storms when loader-provided code differs from filesystem code, keep the Vite resolver stable across repeated
configResolvedcalls, and avoid eagerly walking dynamic import targets during eval-only runs (preventsaction handler is already setand improves build performance on large projects). -
a936749: Drop Node.js <20 support (Node 18 is EOL).
Note: WyW
1.0.0already effectively required Node 20 in practice; this change makes the support policy explicit and
aligns docs/CI accordingly.If DOM emulation is enabled (
features.happyDOM), buthappy-domcannot be loaded viarequire()(ESM-only), WyW will
fall back to running without DOM and print a one-time warning with guidance. -
37d15aa: Fix Babel plugin/preset merging when keys are absolute paths from pnpm store (
node_modules/.pnpm/...) so different packages don't get treated as duplicates. -
9e08238: Fix cache invalidation when a file is first read from the filesystem and later provided by a bundler/loader, preventing stale transforms and related Vite build/dev issues.
-
3dec017: Add opt-in warnings to help identify dynamic and slow imports processed during prepare stage, with an
importOverrides.mockhint for faster evaluation. Also support minimatch patterns inimportOverrideskeys to override groups of imports. -
Updated dependencies
- @wyw-in-js/processor-utils@1.0.4
- @wyw-in-js/shared@1.0.4