Skip to content

nuxt analyze should accept --dotenv flag like nuxt build #542

@stefanprobst

Description

@stefanprobst

Environment

  • Operating System: Linux
  • Node Version: v22.10.0
  • Nuxt Version: 3.13.2
  • CLI Version: 3.15.0
  • Nitro Version: 2.9.7
  • Package Manager: pnpm@9.12.2
  • Builder: -
  • User Config: default
  • Runtime Modules: @nuxt/content@2.13.4, @nuxt/eslint@0.6.0, @nuxt/image@1.8.1, @nuxtjs/color-mode@3.5.2, @nuxtjs/i18n@9.0.0-rc.2, @vueuse/nuxt@11.1.0
  • Build Modules: -

Reproduction

run nuxt analyze

Describe the bug

nuxt analyze does not accept a --dotenv flag (like nuxt build does).

it should pass this flag to the build command.

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions