A synchronous version of "analyzeMetafile".
Documentation: https://esbuild.github.io/api/#analyze
This function invokes the "esbuild" command-line tool for you. It returns a promise that either resolves with a "BuildResult" object or rejects with a "BuildFailure" object.
Documentation: https://esbuild.github.io/api/#build
A synchronous version of "build".
Documentation: https://esbuild.github.io/api/#build
This is the advanced long-running form of "build" that supports additional features such as watch mode and a local development server.
Documentation: https://esbuild.github.io/api/#build
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.
A synchronous version of "formatMessages".
This configures the browser-based version of esbuild. It is necessary to call this first and wait for the returned promise to be resolved before making other API calls when using esbuild in the browser.
Documentation: https://esbuild.github.io/api/#browser
This function transforms a single JavaScript file. It can be used to minify JavaScript, convert TypeScript/JSX to JavaScript, or convert newer JavaScript to older JavaScript. It returns a promise that is either resolved with a "TransformResult" object or rejected with a "TransformFailure" object.
Documentation: https://esbuild.github.io/api/#transform
A synchronous version of "transform".
Documentation: https://esbuild.github.io/api/#transform
Documentation: https://esbuild.github.io/plugins/#build-options
Documentation: https://esbuild.github.io/plugins/#on-dispose
Documentation: https://esbuild.github.io/plugins/#on-end
Documentation: https://esbuild.github.io/plugins/#on-load
Documentation: https://esbuild.github.io/plugins/#on-resolve
Documentation: https://esbuild.github.io/plugins/#on-start
Documentation: https://esbuild.github.io/plugins/#resolve
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.
Documentation: https://esbuild.github.io/api/#analyze