github.com/evanw/esbuild/internal/ast.ImportRecord.Path (field)
30 uses
github.com/evanw/esbuild/internal/ast (current package)
ast.go#L61: Path logger.Path
github.com/evanw/esbuild/internal/bundler
bundler.go#L418: if resolveResult, ok := cache[record.Path.Text]; ok {
bundler.go#L431: record.Path.Text,
bundler.go#L436: cache[record.Path.Text] = resolveResult
bundler.go#L443: fmt.Sprintf("%q should be marked as external for use with \"require.resolve\"", record.Path.Text))
bundler.go#L455: if resolver.IsPackagePath(record.Path.Text) {
bundler.go#L457: if pluginName == "" && !args.fs.IsAbs(record.Path.Text) {
bundler.go#L458: if query := args.res.ProbeResolvePackageAsRelative(absResolveDir, record.Path.Text, record.Kind); query != nil {
bundler.go#L459: hint = fmt.Sprintf(" (use %q to reference the file %q)", "./"+record.Path.Text, args.res.PrettyPath(query.PathPair.Primary))
bundler.go#L464: if _, ok := resolver.BuiltInNodeModules[record.Path.Text]; ok {
bundler.go#L472: fmt.Sprintf("Could not resolve %q%s", record.Path.Text, hint))
bundler.go#L1273: record.Path.Text = relPath
bundler.go#L1275: record.Path = path
bundler.go#L1278: record.Path = path
linker.go#L743: Path: logger.Path{Text: c.pathBetweenChunks(chunk.relDir, relPath)},
linker.go#L834: record.Path.Text = c.pathBetweenChunks(chunk.relDir, c.files[record.SourceIndex.GetIndex()].entryPointRelPath)
linker.go#L1122: record.Path.Text = otherRepr.ast.URLForCSS
linker.go#L1123: record.Path.Namespace = ""
github.com/evanw/esbuild/internal/css_parser
css_parser.go#L344: Path: logger.Path{Text: path},
css_parser.go#L604: Path: logger.Path{Text: token.Text},
css_parser.go#L629: Path: logger.Path{Text: nested[0].Text},
github.com/evanw/esbuild/internal/css_printer
css_printer.go#L58: p.printQuoted(p.importRecords[r.ImportRecordIndex].Path.Text)
css_printer.go#L638: text := p.importRecords[t.ImportRecordIndex].Path.Text
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L6147: Path: logger.Path{Text: text},
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L1286: p.printQuotedUTF8(record.Path.Text, true /* allowBacktick */)
js_printer.go#L1330: p.printQuotedUTF8(record.Path.Text, true /* allowBacktick */)
js_printer.go#L1513: p.printQuotedUTF8(p.importRecords[e.ImportRecordIndex].Path.Text, true /* allowBacktick */)
js_printer.go#L2601: p.printQuotedUTF8(p.importRecords[s.ImportRecordIndex].Path.Text, false /* allowBacktick */)
js_printer.go#L2684: p.printQuotedUTF8(p.importRecords[s.ImportRecordIndex].Path.Text, false /* allowBacktick */)
js_printer.go#L2958: p.printQuotedUTF8(p.importRecords[s.ImportRecordIndex].Path.Text, false /* allowBacktick */)
 |
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. |