Skip to content

docs: document compile.include / compile.exclude config#3088

Merged
crowlKats merged 4 commits intodenoland:2.8from
lunadogbot:docs/2.8-compile-config-include-exclude
May 5, 2026
Merged

docs: document compile.include / compile.exclude config#3088
crowlKats merged 4 commits intodenoland:2.8from
lunadogbot:docs/2.8-compile-config-include-exclude

Conversation

@lunadogbot
Copy link
Copy Markdown

@lunadogbot lunadogbot commented Apr 29, 2026

Summary

Documents the "compile" block in deno.json for declaratively setting --include / --exclude paths for deno compile (shipped in 2.7.10 via denoland/deno#33024).

  • Adds a ## Compile config section in runtime/fundamentals/configuration.md.
  • Adds a sub-section in runtime/reference/cli/compile.md showing how CLI flags merge with the config.

Test plan

  • deno task serve — pages render, links resolve.
  • deno fmt — clean.

Adds a "Configuring include/exclude in deno.json" subsection to
compile.md and a new "Compile config" section to configuration.md
covering the new declarative include/exclude lists. Notes that CLI
flags merge with the config rather than replacing it.

Refs denoland/deno#33024
The compile.include/exclude config block shipped in 2.7.10 (deno#33024),
not 2.8. Drop the 'Starting in Deno 2.8' language so the docs describe
the feature without misattributing the release.
@lunadogbot lunadogbot changed the title docs: document compile.include / compile.exclude config (2.8) docs: document compile.include / compile.exclude config May 2, 2026
@crowlKats crowlKats changed the base branch from main to 2.8 May 5, 2026 10:22
@crowlKats crowlKats merged commit 6d0dd37 into denoland:2.8 May 5, 2026
1 check passed
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.

3 participants