Skip to main content

Module module

Module module 

Source
Expand description

Module loading, linking, and universe evaluation (module.ts, §8.1–8.5, §8.8): files are modules, the import graph is acyclic, exports are explicit; packages (§8.6–8.7) plug in through the resolver hook.

Structs§

Bind
a document bound to an input (§10): module is the one declaring the input (the entry when unset)
LoadResult
Module

Functions§

load_modules
resolver maps package specifiers to paths (packages, §8.6); overrides maps absolute paths to buffer contents (editors)
run_universe