Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mesozoic/lib/types.ts>ModuleGraph#lock

A generic build system for Deno web apps
Go to Latest
method ModuleGraph.prototype.lock
import { ModuleGraph } from "https://deno.land/x/mesozoic@v1.0.0-beta.1/lib/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.