Skip to content

fix: chunkSize config precedence over chunks number#591

Merged
harlan-zw merged 1 commit intomainfrom
fix/chunk-size-config-precedence
Mar 28, 2026
Merged

fix: chunkSize config precedence over chunks number#591
harlan-zw merged 1 commit intomainfrom
fix/chunk-size-config-precedence

Conversation

@harlan-zw
Copy link
Copy Markdown
Collaborator

🔗 Linked issue

N/A

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

When both chunkSize and chunks (as a number) were set, chunks took precedence over the explicit chunkSize config. This fix corrects the precedence so chunkSize is checked first, matching user expectations.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 28, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@nuxtjs/sitemap@591

commit: 9762d0a

@harlan-zw harlan-zw merged commit ad5221b into main Mar 28, 2026
10 checks passed
@harlan-zw harlan-zw deleted the fix/chunk-size-config-precedence branch March 28, 2026 04:46
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.

1 participant