Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
function esbuildTypes.analyzeMetafileSync
import { esbuildTypes } from "https://deno.land/x/fresh@1.5.2/src/build/deps.ts";
const { analyzeMetafileSync } = esbuildTypes;

A synchronous version of "analyzeMetafile".

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

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

Parameters

metafile: Metafile | string
optional
options: AnalyzeMetafileOptions

Returns

string