Table of Contents

Class BunBuild

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

Bundles one or more application entry points.

public sealed record BunBuild : ExecToolCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<BunBuild>

Inheritance

Implements

Properties

CommandParts

Gets every canonically ordered rendered command fragment.

protected override IReadOnlyList<string?> CommandParts { get; }

Property Value

IReadOnlyList<string?>

Compile

Generates a standalone executable.

public bool Compile { get; init; }

Property Value

bool

EntryPoints

Entry points to bundle.

public IReadOnlyList<string> EntryPoints { get; init; }

Property Value

IReadOnlyList<string>

External

Package specifiers excluded from bundling.

public IReadOnlyList<string> External { get; init; }

Property Value

IReadOnlyList<string>

Format

Module output format.

public BunBuildFormat? Format { get; init; }

Property Value

BunBuildFormat?

Minify

Enables all minification passes.

public bool Minify { get; init; }

Property Value

bool

OutDir

Directory for multiple build outputs.

public string? OutDir { get; init; }

Property Value

string?

OutFile

File for a single build output.

public string? OutFile { get; init; }

Property Value

string?

Production

Enables production defaults.

public bool Production { get; init; }

Property Value

bool

Splitting

Enables code splitting.

public bool Splitting { get; init; }

Property Value

bool

Target

Intended execution environment.

public BunBuildTarget? Target { get; init; }

Property Value

BunBuildTarget?