mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-24 06:14:01 +08:00
10 lines
363 B
TypeScript
10 lines
363 B
TypeScript
// Diamond: main → a, b; a → shared; b → shared, a.
|
|
// Node evaluates depth-first postorder, each module once:
|
|
// shared, a, b, main — verified byte-exact against Node.
|
|
import { fromA } from "./a.ts";
|
|
import { fromB } from "./b.ts";
|
|
import { inits, record } from "./shared.ts";
|
|
console.log("init main");
|
|
record("m");
|
|
console.log(inits, fromA(), fromB());
|