REA babel.config.json notes (unofficial)
babel.config.json pins project-wide Babel transform identity. In REA 6.7.x, treat selected presets/plugins as Evidence beside archive/package routes — complementing rea-babelrc without inventing APIs.
Mental model
- Authorize the
babel.config.json(+ artifacts you hold). - Quote selected presets / plugins / env pins you actually see (redact secrets).
.babelrc*cousin → rea-babelrc; SWC cousin → rea-swc-config.- Bind absolute paths honestly → rea-absolute-paths.
- Do not invent a Babel API REA never called.
Minimal path
# authorized babel.config.json (+ artifact you hold)
# quote selected presets/plugins into case notes (redact secrets)
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_babel_config_json .
Compare
| Artifact | Honest posture |
|---|---|
babel.config.json | Project-wide Babel identity facts |
.babelrc* cousin | rea-babelrc |
| SWC cousin | rea-swc-config |
| Evidence binder | rea-evidence-explained |
Scope we will not cover
- No inventing
inspect_babel_config_json/ automatic Babel builds. - No credential theft from env-dependent transforms.
- No pirate redistribution of paid artifacts.
- No crack framing via Babel pins.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-babelrc?
rea-babelrc zooms on .babelrc* shapes. This page zooms on babel.config.json project-wide presets/plugins as Evidence — it does not overwrite that page.
Is there inspect_babel_config_json in 6.7.0?
Not assumed. Quote presets/plugins you actually open, then use documented package/archive lanes. Do not invent inspect_babel_config_json.
Does REA run Babel or steal secrets from babel.config.json?
No. Local trees only. Redact secrets/env; do not treat REA as a Babel runner.
Babel vs SWC?
Label Evidence by the file present. Keep this Babel lane separate from rea-swc-config and rea-swcrc.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).