Thanks to visit codestin.com
Credit goes to github.com

Skip to content

docs(config): document preserveEntrySignatures defaults (fix #23451) - #23469

Open
koriyoshi2041 wants to merge 1 commit into
vitejs:mainfrom
koriyoshi2041:docs/rolldown-preserve-entry-signatures
Open

docs(config): document preserveEntrySignatures defaults (fix #23451)#23469
koriyoshi2041 wants to merge 1 commit into
vitejs:mainfrom
koriyoshi2041:docs/rolldown-preserve-entry-signatures

Conversation

@koriyoshi2041

Copy link
Copy Markdown

Problem

Rolldown documents preserveEntrySignatures with a default of 'exports-only', but Vite supplies different defaults based on the build mode. This makes the effective behavior unclear when the option is omitted.

Fix

Document Vite's effective defaults under build.rolldownOptions: false for regular client builds, 'strict' for library builds, and 'allow-extension' for SSR builds.

Fixes #23451.

Test

  • pnpm exec oxfmt --check docs/config/build-options.md
  • pnpm run build
  • pnpm run docs-build
  • git diff --check

Risk

Documentation-only. The values are taken directly from the current build option construction, and user-provided rolldownOptions continue to override them.

@github-actions github-actions Bot added the bot: maybe Maybe a bot, LLM, or agent label Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot: maybe Maybe a bot, LLM, or agent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build.rolldownOptions.preserveEntrySignatures shows incorrect default

1 participant