Skip to content

docs: document v13 build-system configuration and commands - #1486

Merged
fhammerschmidt merged 3 commits into
rescript-lang:v13from
fhammerschmidt:docs/v13-build-system
Nov 22, 2026
Merged

fhammerschmidt merged 3 commits into
rescript-lang:v13from
fhammerschmidt:docs/v13-build-system

Conversation

@fhammerschmidt

@fhammerschmidt fhammerschmidt commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

The v13 build pages still describe CommonJS and out-of-source defaults and omit production filtering, feature selection, and the updated watch workflow. Update the existing overview, configuration, monorepo, and schema-reference pages.

  • Correct ESM and output-location defaults; show dual-format output with per-format suffixes. Compiler references: #8213, #8214.
  • Explain --prod, feature-gated source directories, dependency feature selection, transitive feature implications, watch --clear-screen, and builds while a watcher is active. Compiler references: #8347, #8379, #8373, #8349.
  • Prefer modern configuration names while retaining accurate compatibility guidance. bsconfig.json and legacy field aliases were restored in #8368, after their initial removal; they remain accepted with deprecation warnings. Document the unsupported external-stdlib option and es6-global format separately (#8175, #8205).

Refs #1476. This PR targets v13 only. Behavior was checked against the published alpha.6 source, including compatibility reversals missing from the checklist's original wording.

Update output defaults, production filtering, feature-gated sources and dependency features, and watch behavior in the existing build pages. Keep restored legacy configuration aliases accurately documented as deprecated compatibility, and clarify schema coverage and monorepo settings. Refs rescript-lang#1476.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T23:31:53.399557Z 48f5f4e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Restore "You can mark" so marking source directories as dev-only reads as an optional configuration choice.

@aspeddro aspeddro left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left only one comment

Remove the "Migrating Older Configurations" section from the build
configuration reference; it moves to the upcoming Migrate to v13 guide.
Keep short notes on the deprecated bs-dependencies, bs-dev-dependencies
and bsc-flags aliases next to the fields they alias.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@aspeddro aspeddro left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@fhammerschmidt
fhammerschmidt merged commit b424979 into rescript-lang:v13 Nov 22, 2026
11 checks passed
@fhammerschmidt
fhammerschmidt deleted the docs/v13-build-system branch November 22, 2026 20:37
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.

2 participants