REA babel.config.js notes (unofficial)
For legal, authorized and educational use only. Only analyze software you own or have written permission to examine. This page is not the official REA documentation.
Quick answer
babel.config.js (and .mjs / .cjs) pins Babel JS-module transform identity. In REA 6.7.x, treat selected preset/plugin pins as Evidence beside archive/package routes — complementing rea-babel-config-json without inventing APIs.
Mental model
- Authorize the
babel.config.js/.mjs/.cjs(+ artifacts you hold). - Quote selected
presets/plugins/env/overridespins you actually see. - JSON cousin → rea-babel-config-json; babelrc → rea-babelrc; SWC → rea-swc-config.
- Bind absolute paths honestly → rea-absolute-paths.
- Do not invent a Babel API REA never called.
Minimal path
# authorized babel.config.js / .mjs / .cjs (+ artifact you hold)
# quote selected presets/plugins/env pins into case notes
# cousins → babel-config-json / babelrc / swc-config
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_babel_config .
Compare
| Artifact | Honest posture |
|---|---|
| babel.config.js/.mjs/.cjs | JS-module transform identity facts |
| JSON cousin | rea-babel-config-json |
| babelrc cousin | rea-babelrc |
| Evidence binder | rea-evidence-explained |
Scope we will not cover
- No inventing
inspect_babel_config/ automatic Babel runs. - No credential theft from config secrets / env.
- No pirate redistribution of paid packages.
- No crack framing via Babel pins.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-babel-config-json / rea-babelrc?
rea-babel-config-json covers babel.config.json; rea-babelrc covers .babelrc*. This page zooms on babel.config.js / .mjs / .cjs identity — it does not overwrite those pages.
Is there inspect_babel_config in 6.7.0?
Not assumed. Quote presets/plugins you actually open. Do not invent inspect_babel_config.
Does REA run Babel or talk to transform SaaS?
No. Local trees only. No credential theft.
babel.config.js vs babel.config.json vs .babelrc.js?
Label Evidence by the file present. Quote what you open.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).