Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

⚔️ Hypermodern Zero-Legacy Deno/React Framework
Go to Latest
method ModuleGraph.prototype.lock
Re-export
import { ModuleGraph } from "https://deno.land/x/ultra@v2.0.0-alpha.6/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.