Table of Contents

Namespace Nite.Esbuild

Classes

EsbuildBinary

Finds or downloads the platform's esbuild binary. It comes from the same npm package (@esbuild/linux-x64 and friends) that esbuild's own installer uses, verified against the registry's integrity hash and cached per user.

EsbuildBuildOptions
EsbuildBuildResult
EsbuildEntry
EsbuildException
EsbuildLoadArgs
EsbuildLoadResult
EsbuildMessage

An error or warning reported by esbuild.

EsbuildOnLoad
EsbuildOnResolve
EsbuildOutputFile
EsbuildPlugin

An esbuild plugin implemented in .NET. esbuild matches the filters itself (they are Go regular expressions, so keep to the syntax both languages share) and calls back over the service channel only for paths that match, exactly as it does for plugins written in JavaScript.

EsbuildPluginException

Thrown by a plugin callback to report an error at a source location.

EsbuildResolveArgs
EsbuildResolveResult
EsbuildService

A client for a long-lived esbuild --service process. This is the same channel esbuild's own JS API uses, so one process serves every transform and build for the life of the app. The process is (re)started lazily, so a crash only costs the requests that were in flight.

EsbuildTransformResult