github.com/evanw/esbuild/pkg/api.apiHandler.servedir (field)

7 uses

	github.com/evanw/esbuild/pkg/api (current package)
		serve_other.go#L29: 	servedir         string
		serve_other.go#L166: 		if h.servedir != "" && kind != fs.FileEntry {
		serve_other.go#L167: 			absPath := h.fs.Join(h.servedir, queryPath)
		serve_other.go#L187: 		if h.servedir != "" && kind != fs.FileEntry {
		serve_other.go#L188: 			if entries, err := h.fs.ReadDirectory(h.fs.Join(h.servedir, queryPath)); err == nil {
		serve_other.go#L222: 			contents, err := h.fs.ReadFile(h.fs.Join(h.servedir, queryPath))
		serve_other.go#L530: 		servedir:         serveOptions.Servedir,