Skip to main content
Module

x/import/deps.ts>esbuildNative.analyzeMetafileSync

🐎 A ponyfill for using dynamic imports within Deno Deploy.
Go to Latest
function esbuildNative.analyzeMetafileSync
import { esbuildNative } from "https://deno.land/x/import@v0.1.4/deps.ts";
const { analyzeMetafileSync } = esbuildNative;

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