esbuilder

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FEBuild

func FEBuild(options FEBuildOptions, ch chan ESReport) bool

func FEWatch

func FEWatch(options FEBuildOptions, watchDirs []string, ch chan ESReport)

Types

type ESReport

type ESReport struct {
	Time     time.Time
	Duration time.Duration

	Done bool

	// TODO: use the same structure as the ts diagnostics
	Errors   []api.Message
	Messages []string
}

TODO: use the same structure for TS Report

type FEBuildOptions

type FEBuildOptions struct {
	NoSourceMaps bool

	FERoot string

	// relative to FERoot
	EntryTS []string

	Define map[string]string
	Outdir string

	// relative to FERoot
	EntryHTML []string

	// relative to FERoot
	CopyItems []string // files and directories to copy as-is to the output directory
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL