发布

  • fix(misc): override `customConditions` when using an incompatible module resolution (#30477)

    frostbyte_neo 发布于 2025-03-25 15:17:17 +00:00

    Current Behavior

    In a few different places (Crystal plugins, executors, generators,
    helpers) where ts-node compiler options are overridden and
    moduleResolution is being set to something other than node16,
    nodenext, or bundler, an error can occur if the customConditions
    compiler option is being used.

    Expected Behavior

    When overriding the ts-node compiler options and changing forcing
    moduleResolution to have a value that's incompatible with
    customConditions, the latter should be unset (set to null) to avoid
    errors.

    Related Issue(s)

    Fixes #

    (cherry picked from commit 5dbe040374)

    下载附件