发布

  • fix(nuxt): use loadNuxtConfig to load nuxt config for plugin (#28795)

    frostbyte_neo 发布于 2024-11-05 23:38:41 +00:00

    Current Behavior

    We switched to using loadConfigFile from @nx/devkit to load Nuxt
    Config files when plugins were not isolated.
    However, they are now, so we can use loadNuxtConfig again.

    The effect of using loadConfigFile paired with Nuxt's auto-imports
    resulted in inconsistent failures.

    Expected Behavior

    Use loadNuxtConfig when NX_ISOLATE_PLUGINS=true

    Related Issue(s)

    Fixes #28506
    Fixes #28374

    (cherry picked from commit be7bfa4820)

    下载附件