esbuild

package
v0.0.0-...-b2d581b Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JsxFactory = "m"

Functions

func BuildFile

func BuildFile(fs afero.Fs, filepath string) ([]byte, error)

Types

type FS

type FS struct {
	afero.Fs
}

func (*FS) Base

func (f *FS) Base(path string) string

func (*FS) Dir

func (f *FS) Dir(path string) string

func (*FS) Join

func (f *FS) Join(parts ...string) string

func (*FS) ReadDirectory

func (f *FS) ReadDirectory(path string) map[string]fs.Entry

func (*FS) ReadFile

func (f *FS) ReadFile(path string) (string, bool)

func (*FS) RelativeToCwd

func (f *FS) RelativeToCwd(path string) (string, bool)

Jump to

Keyboard shortcuts

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