github.com/evanw/esbuild/pkg/api.ServeOptions.Servedir (field)

10 uses

	github.com/evanw/esbuild/pkg/api (current package)
		api.go#L367: 	Servedir  string
		serve_other.go#L430: 	if serveOptions.Servedir != "" {
		serve_other.go#L431: 		if absPath, ok := realFS.Abs(serveOptions.Servedir); ok {
		serve_other.go#L432: 			serveOptions.Servedir = absPath
		serve_other.go#L434: 			return ServeResult{}, fmt.Errorf("Invalid serve path: %s", serveOptions.Servedir)
		serve_other.go#L445: 	} else if serveOptions.Servedir != "" {
		serve_other.go#L463: 		relPath, ok := realFS.Rel(serveOptions.Servedir, outdir)
		serve_other.go#L466: 				"Cannot compute relative path from %q to %q\n", serveOptions.Servedir, outdir)
		serve_other.go#L473: 				prettyPrintPath(realFS, serveOptions.Servedir),
		serve_other.go#L530: 		servedir:         serveOptions.Servedir,