Skip to content

docs: document minify: false for debugging workers#4452

Open
BTF-Kabir-2020 wants to merge 1 commit into
nitrojs:mainfrom
BTF-Kabir-2020:docs/document-minify-false-for-debugging
Open

docs: document minify: false for debugging workers#4452
BTF-Kabir-2020 wants to merge 1 commit into
nitrojs:mainfrom
BTF-Kabir-2020:docs/document-minify-false-for-debugging

Conversation

@BTF-Kabir-2020

@BTF-Kabir-2020 BTF-Kabir-2020 commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Document that some presets (especially worker runtimes) enable minify by default
  • Note that setting minify: false keeps stack traces readable when debugging production, worker, or edge builds (including Vercel Edge)

Fixes #415

Test plan

  • Confirm the minify section in config docs reads clearly
  • No code changes — docs only

Explain that some presets enable minify by default and that disabling it helps debug worker/edge stacks.

Fixes nitrojs#415
@BTF-Kabir-2020
BTF-Kabir-2020 requested a review from pi0 as a code owner July 20, 2026 14:01
@vercel

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown

@BTF-Kabir-2020 is attempting to deploy a commit to the Nitro Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Changes

Minify documentation

Layer / File(s) Summary
Minify guidance and examples
docs/3.config/0.index.md
Documents that presets may enable minification by default and adds minify: true and minify: false examples, including disabling minification for clearer stack traces.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Linked Issues check ✅ Passed The docs update covers the linked request to document that minify: false helps debug worker-related issues.
Out of Scope Changes check ✅ Passed The change is confined to documentation and stays within the stated minify-debugging objective.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The title follows conventional commits and accurately summarizes the documentation change.
Description check ✅ Passed The description matches the docs-only change and clearly explains the minify behavior update.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Jul 20, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/nitro@4452

commit: ef0b094

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.

Document usage of minify: false to debug

1 participant