github.com/evanw/esbuild/internal/logger.Source.KeyPath (field)
55 uses
github.com/evanw/esbuild/internal/logger (current package)
logger.go#L211: KeyPath Path
github.com/evanw/esbuild/internal/bundler
bundler.go#L157: KeyPath: args.keyPath,
bundler.go#L203: _, base, ext := logger.PlatformIndependentPathDirBaseExt(source.KeyPath.Text)
bundler.go#L319: publicPath = args.options.PublicPath + relPath[2:] + source.KeyPath.IgnoredSuffix
bundler.go#L321: publicPath = args.options.PublicPath + relPath + source.KeyPath.IgnoredSuffix
bundler.go#L356: if source.KeyPath.Namespace == "file" && ext != "" {
bundler.go#L488: KeyPath: path,
bundler.go#L645: resolverArgs.Importer = importSource.KeyPath
bundler.go#L646: applyPath.Namespace = importSource.KeyPath.Namespace
bundler.go#L743: Path: source.KeyPath,
bundler.go#L750: if !config.PluginAppliesToPath(source.KeyPath, onLoad.Filter, onLoad.Namespace) {
bundler.go#L763: if isWatchMode && source.KeyPath.Namespace == "file" {
bundler.go#L764: fsCache.ReadFile(fs, source.KeyPath.Text) // Read the file for watch mode tracking
bundler.go#L779: if result.AbsResolveDir == "" && source.KeyPath.Namespace == "file" {
bundler.go#L780: result.AbsResolveDir = fs.Dir(source.KeyPath.Text)
bundler.go#L782: if isWatchMode && source.KeyPath.Namespace == "file" {
bundler.go#L783: fsCache.ReadFile(fs, source.KeyPath.Text) // Read the file for watch mode tracking
bundler.go#L795: if source.KeyPath.IsDisabled() {
bundler.go#L800: if source.KeyPath.Namespace == "file" {
bundler.go#L801: if contents, err := fsCache.ReadFile(fs, source.KeyPath.Text); err == nil {
bundler.go#L805: absResolveDir: fs.Dir(source.KeyPath.Text),
bundler.go#L809: fmt.Sprintf("Could not read from file: %s", source.KeyPath.Text))
bundler.go#L813: fmt.Sprintf("Cannot read file %q: %s", res.PrettyPath(source.KeyPath), err.Error()))
bundler.go#L820: if source.KeyPath.Namespace == "dataurl" {
bundler.go#L821: if parsed, ok := resolver.ParseDataURL(source.KeyPath.Text); ok {
bundler.go#L1060: KeyPath: visitedKey,
bundler.go#L1383: stubKey := otherFile.source.KeyPath
bundler.go#L1566: keyPath := b.files[sourceIndex].source.KeyPath
bundler.go#L1705: keyPath := b.files[entryPoint].source.KeyPath
linker.go#L1100: result = append(result, crossChunkExportItem{ref: ref, keyPath: c.files[ref.OuterIndex].source.KeyPath})
linker.go#L2282: if c.files[otherSourceIndex].source.KeyPath.IsDisabled() {
linker.go#L2737: if source.KeyPath.Namespace != "file" {
linker.go#L2738: baseName = baseFileNameForVirtualModulePath(source.KeyPath.Text)
linker.go#L2739: } else if relPath, ok := c.fs.Rel(c.options.AbsOutputBase, source.KeyPath.Text); ok {
linker.go#L2764: baseName = c.fs.Base(source.KeyPath.Text)
linker.go#L2907: path: file.source.KeyPath,
linker.go#L4474: path: file.source.KeyPath,
linker.go#L4486: Namespace: file.source.KeyPath.Namespace,
linker.go#L4493: path.Text = c.fs.Join(c.fs.Dir(file.source.KeyPath.Text), source)
linker.go#L4607: if file.source.KeyPath.Namespace == "file" {
linker.go#L4616: filePath = file.source.KeyPath.Text
linker.go#L4620: binary.LittleEndian.PutUint32(lengthBytes[:], uint32(len(file.source.KeyPath.Namespace)))
linker.go#L4622: hash.Write([]byte(file.source.KeyPath.Namespace))
github.com/evanw/esbuild/internal/cache
cache_ast.go#L46: return c.entries[source.KeyPath]
cache_ast.go#L76: c.entries[source.KeyPath] = entry
cache_ast.go#L101: return c.entries[source.KeyPath]
cache_ast.go#L132: c.entries[source.KeyPath] = entry
cache_ast.go#L157: return c.entries[source.KeyPath]
cache_ast.go#L188: c.entries[source.KeyPath] = entry
github.com/evanw/esbuild/internal/resolver
resolver.go#L690: KeyPath: keyPath,
resolver.go#L906: KeyPath: keyPath,
github.com/evanw/esbuild/internal/runtime
runtime.go#L217: KeyPath: logger.Path{Text: ""},
runtime.go#L225: KeyPath: logger.Path{Text: ""},
github.com/evanw/esbuild/pkg/api
api_impl.go#L298: KeyPath: logger.Path{Text: "(global path)"},
api_impl.go#L1050: KeyPath: logger.Path{Text: "tsconfig.json"},
 |
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. |