Skip to content

docs: clarify Environment API externalization options#21977

Open
lilianakatrina684-a11y wants to merge 1 commit intovitejs:mainfrom
lilianakatrina684-a11y:docs-clarify-environment-noexternal
Open

docs: clarify Environment API externalization options#21977
lilianakatrina684-a11y wants to merge 1 commit intovitejs:mainfrom
lilianakatrina684-a11y:docs-clarify-environment-noexternal

Conversation

@lilianakatrina684-a11y
Copy link
Copy Markdown

Fixes #20098

Summary:

  • clarify in the Environment API guide that dependency externalization for server environments is configured under resolve, not build
  • document that environments..resolve.external and environments..resolve.noExternal are the Environment API equivalents of the top-level ssr.external and ssr.noExternal options
  • note that the top-level ssr.* options remain the backward-compatible alias for the default ssr environment

Verification:

  • git diff --check
  • npx prettier@3.8.1 --check docs/guide/api-environment.md docs/config/ssr-options.md

@lilianakatrina684-a11y lilianakatrina684-a11y force-pushed the docs-clarify-environment-noexternal branch from 7d5dd6b to 6bf27b9 Compare March 29, 2026 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Environment API: noExternal configuration inconsistency between top-level and environment-level settings

1 participant