mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-24 06:14:01 +08:00
- Eligible packages compile statically into the archive through the npm-static machinery, transitive deps judged to the same bar at a fixpoint - Ineligible packages refuse with a teaching naming the package, the failed bar, and the vendor-or-drop remedy — never the executable lane's dynamic advice - npm module bytes join source_hash and build_id; npm declarations stay out of the contract type tables by construction - Inter-package requires run the dependency's init in both lanes # Conflicts: # packages/compiler/src/diagnostics/diagnostic.ts # packages/compiler/src/frontend/lowering/lowerer.ts # packages/compiler/src/index.ts # tests/harness/library-mode.test.ts
8 lines
233 B
TypeScript
8 lines
233 B
TypeScript
// SC4020 fixture: webbundle ships its own .d.ts and readable JS, but the
|
|
// dist carries a build-transform marker — the bar refuses it by name.
|
|
import { probe } from "webbundle";
|
|
|
|
export function f(): string {
|
|
return probe();
|
|
}
|