github.com/evanw/esbuild/internal/config.OnResolveResult.Path (field)
12 uses
github.com/evanw/esbuild/internal/config (current package)
config.go#L428: Path logger.Path
github.com/evanw/esbuild/internal/bundler
bundler.go#L671: nsFromPlugin := result.Path.Namespace
bundler.go#L672: if result.Path.Namespace == "" && !result.External {
bundler.go#L673: result.Path.Namespace = "file"
bundler.go#L677: if result.Path.Text == "" {
bundler.go#L679: result.Path = logger.Path{Text: path}
bundler.go#L686: if result.Path.Namespace == "file" && !fs.IsAbs(result.Path.Text) {
bundler.go#L689: fmt.Sprintf("Plugin %q returned a path in the \"file\" namespace that is not an absolute path: %s", pluginName, result.Path.Text))
bundler.go#L692: fmt.Sprintf("Plugin %q returned a non-absolute path: %s (set a namespace if this is not a file path)", pluginName, result.Path.Text))
bundler.go#L698: PathPair: resolver.PathPair{Primary: result.Path},
github.com/evanw/esbuild/pkg/api
api_impl.go#L1219: result.Path = logger.Path{Text: response.Path, Namespace: response.Namespace}
![]() |
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. |