github.com/evanw/esbuild/internal/config.Options.PublicPath (field)
11 uses
github.com/evanw/esbuild/internal/config (current package)
config.go#L216: PublicPath string
github.com/evanw/esbuild/internal/bundler
bundler.go#L317: if strings.HasSuffix(args.options.PublicPath, "/") && strings.HasPrefix(relPath, "./") {
bundler.go#L319: publicPath = args.options.PublicPath + relPath[2:] + source.KeyPath.IgnoredSuffix
bundler.go#L321: publicPath = args.options.PublicPath + relPath + source.KeyPath.IgnoredSuffix
linker.go#L772: if c.options.PublicPath != "" {
linker.go#L773: return c.options.PublicPath + toRelPath
github.com/evanw/esbuild/pkg/api
api_impl.go#L667: PublicPath: buildOpts.PublicPath,
api_impl.go#L683: if options.PublicPath != "" && !strings.HasSuffix(options.PublicPath, "/") && !strings.HasSuffix(options.PublicPath, "\\") {
api_impl.go#L684: options.PublicPath += "/"
![]() |
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. |