REA babel.config.json notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

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

  1. Authorize the babel.config.json (+ artifacts you hold).
  2. Quote selected presets / plugins / env pins you actually see (redact secrets).
  3. .babelrc* cousin → rea-babelrc; SWC cousin → rea-swc-config.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. 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

ArtifactHonest posture
babel.config.jsonProject-wide Babel identity facts
.babelrc* cousinrea-babelrc
SWC cousinrea-swc-config
Evidence binderrea-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).

Sources