github Anber/wyw-in-js @wyw-in-js/transform@1.0.5

Patch Changes

  • 3dec017: Fix cache invalidation storms when loader-provided code differs from filesystem code, keep the Vite resolver stable across repeated configResolved calls, and avoid eagerly walking dynamic import targets during eval-only runs (prevents action handler is already set and improves build performance on large projects).

  • a936749: Drop Node.js <20 support (Node 18 is EOL).

    Note: WyW 1.0.0 already 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), but happy-dom cannot be loaded via require() (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.mock hint for faster evaluation. Also support minimatch patterns in importOverrides keys to override groups of imports.

  • Updated dependencies

    • @wyw-in-js/processor-utils@1.0.4
    • @wyw-in-js/shared@1.0.4

Don't miss a new wyw-in-js release

NewReleases is sending notifications on new releases.