Skip to content

docs: document compile.include / compile.exclude config (2.8)#3088

Open
lunadogbot wants to merge 1 commit intodenoland:mainfrom
lunadogbot:docs/2.8-compile-config-include-exclude
Open

docs: document compile.include / compile.exclude config (2.8)#3088
lunadogbot wants to merge 1 commit intodenoland:mainfrom
lunadogbot:docs/2.8-compile-config-include-exclude

Conversation

@lunadogbot
Copy link
Copy Markdown

Summary

Documents the new include / exclude keys under the compile block in deno.json, shipping in Deno 2.8 (denoland/deno#33024). Lets users declare bundled files / directories once instead of repeating --include / --exclude on every deno compile invocation.

  • Adds a "Configuring include / exclude in deno.json" subsection under the existing "Including Data Files or Directories" heading in runtime/reference/cli/compile.md.
  • Adds a new "Compile config" section to runtime/fundamentals/configuration.md.
  • Both sections call out that CLI flags merge with the config rather than replacing it.

Test plan

  • deno task serve — both pages render, the cross-link from configuration.md to "Test, bench, and compile permissions" resolves.

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
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