REA SWC config notes (unofficial)

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

.swcrc / swc.config.* pins SWC transform identity. In REA 6.7.x, treat selected jsc / module pins as Evidence beside archive/package routes — complementing rea-swcrc without inventing APIs.

Mental model

  1. Authorize the .swcrc / swc.config.* (+ artifacts you hold).
  2. Quote selected jsc / module / minify pins you actually see (redact secrets).
  3. Earlier .swcrc tip → rea-swcrc; Babel cousin → rea-babel-config-json.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. Do not invent an SWC API REA never called.

Minimal path

# authorized .swcrc / swc.config.* (+ artifact you hold)
# quote selected jsc/module pins into case notes (redact secrets)
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_swc_config .

Compare

ArtifactHonest posture
.swcrc / swc.config.*SWC transform identity facts
earlier tiprea-swcrc
Babel cousinrea-babel-config-json
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_swc_config / automatic SWC builds.
  • No credential theft from env-dependent transforms.
  • No pirate redistribution of paid artifacts.
  • No crack framing via SWC pins.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-swcrc?

rea-swcrc is the earlier .swcrc tip lane. This page zooms on .swcrc / swc.config.* jsc/module identity as Evidence beside Babel cousins — it does not overwrite that page.

Is there inspect_swc_config in 6.7.0?

Not assumed. Quote jsc/module pins you actually open, then use documented package/archive lanes. Do not invent inspect_swc_config.

Does REA run SWC or steal secrets from .swcrc?

No. Local trees only. Redact secrets/env; do not treat REA as an SWC runner.

SWC vs Babel?

Label Evidence by the file present. Keep this SWC lane separate from rea-babel-config-json and rea-babelrc.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources