SWC And Generated Build Artifacts¶
Home · Top · Table of Contents
Table of Contents¶
Kevin K. Le (LinkedIn) — Founder, Founding Engineer, and Current Lead Engineer; Software Engineer at the Oregon Blockchain Group, University of Oregon.
Kellen Snider — Founding Engineer; Software Engineer at the Oregon Blockchain Group, University of Oregon. His vision, ideas, and dedication during TrustLedger's Ethereum development were invaluable to the codebase we build on today.
See
CREDITS.md.
TrustLedger relies on Next.js and its bundled SWC compiler for frontend builds.
The repository does not use a root .swcrc because Next.js owns the runtime
compiler pipeline, but the frontend now keeps an explicit SWC policy under
src/.swc/config.json for local tools, audits, and future plugin review.
Current Finding¶
Home · Top · Table of Contents
The root .swc/ directory documents why no root-level SWC compiler override is
enabled. The src/.swc/ directory contains the frontend SWC policy and ignores
generated native plugin caches.
Decision¶
Home · Top · Table of Contents
Keep Next.js as the source of truth for production transforms. Use
src/.swc/config.json only when a local tool needs an explicit parser, target,
module, or React transform policy. Any future SWC plugin must be documented in
src/.swc/plugins/README.md before it is added to the build.
Related Generated Folders¶
Home · Top · Table of Contents
These folders are generated locally and should not be edited by hand:
| Path | Source |
|---|---|
src/.next/ |
Next.js development and build output. |
src/.swc/plugins/<platform>/ |
Downloaded SWC native plugin cache. |
.vercel/output/ |
Vercel build output. |
artifacts/ |
Hardhat compile output and TypeChain types. |
contracts/out/ |
Foundry build output. |
contracts/cache/ |
Foundry cache. |
src/coverage/ |
Jest coverage output. |
site/ |
MkDocs build output. |
__pycache__/ |
Python bytecode cache. |
Use documented cache-cleaning scripts instead of manually editing generated content.
Authors and Contributors¶
Home · Top · Table of Contents
- Kevin K. Le — Founder, Founding Engineer, and Current Lead Engineer (LinkedIn)
- Kellen Snider — Founding Engineer (LinkedIn)
See CREDITS.md for the complete acknowledgement list.
Legal¶
Home · Top · Table of Contents
This document is part of TrustLedger, an open-source decentralized escrow and
arbitration protocol. Use of this software and documentation is subject to the
Terms and Conditions,
Privacy Policy, and Risk Disclosure.
See LEGAL.md for the full compliance and licensing overview.