Skip to main content
Module

x/lume/deps/esbuild.ts>analyzeMetafile

🔥 Static site generator for Deno 🦕
Very Popular
Latest
function analyzeMetafile
import { analyzeMetafile } from "https://deno.land/x/lume@v2.1.4/deps/esbuild.ts";

Pretty-prints an analysis of the metafile JSON to a string. This is just for convenience to be able to match esbuild's pretty-printing exactly. If you want to customize it, you can just inspect the data in the metafile yourself.

  • Works in node: yes
  • Works in browser: yes

Documentation: https://esbuild.github.io/api/#analyze

Parameters

metafile: Metafile | string
optional
options: AnalyzeMetafileOptions

Returns

Promise<string>