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,
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |