Module

x/ultra/lib/build/types.ts>ModuleGraph#lock

💎 Next-gen browser/server fluid React framework
Go to Latest
method ModuleGraph.prototype.lock
import { ModuleGraph } from "https://dotland.deno.dev/x/ultra@v2.0.0-alpha.5/lib/build/types.ts";

Determine if the graph sources are valid by calling the passed check() function. If any of the modules in the graph fail the check, then an error is thrown.