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

x/esbuild_deno_loader/deps.ts>esbuild.formatMessages

Deno module resolution for `esbuild`
Go to Latest
function esbuild.formatMessages
import { esbuild } from "https://deno.land/x/esbuild_deno_loader@0.5.2/deps.ts";
const { formatMessages } = esbuild;

Converts log messages to formatted message strings suitable for printing in the terminal. This allows you to reuse the built-in behavior of esbuild's log message formatter. This is a batch-oriented API for efficiency.

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

Returns

Promise<string[]>