github.com/evanw/esbuild/internal/js_ast.NamedImport.Alias (field)
18 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L1737: Alias string
github.com/evanw/esbuild/internal/bundler
linker.go#L1892: fmt.Sprintf("Detected cycle while resolving import %q", namedImport.Alias))
linker.go#L1922: msg := fmt.Sprintf("Import %q will always be undefined because there are multiple matching exports", namedImport.Alias)
linker.go#L1925: msg := fmt.Sprintf("Ambiguous import %q has multiple matching exports", namedImport.Alias)
linker.go#L2011: result.alias = namedImport.Alias
linker.go#L2016: alias: namedImport.Alias,
linker.go#L2028: namedImport.Alias, c.files[nextTracker.sourceIndex].source.PrettyPath))
linker.go#L2048: c.log.AddRangeWarning(&source, r, fmt.Sprintf("Import %q will always be undefined because there is no matching export", namedImport.Alias))
linker.go#L2050: c.addRangeError(source, r, fmt.Sprintf("No matching export for import %q", namedImport.Alias))
linker.go#L2288: if namedImport.Alias != "*" && !otherRepr.ast.UsesCommonJSExports() && !otherRepr.ast.HasESMFeatures() && !otherRepr.ast.HasLazyExport {
linker.go#L2299: if matchingExport, ok := otherRepr.meta.resolvedExports[namedImport.Alias]; ok {
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L11938: Alias: alias,
js_parser.go#L11956: Alias: "default",
js_parser.go#L11965: Alias: "*",
js_parser.go#L11975: Alias: item.Alias,
js_parser.go#L12055: Alias: "*",
js_parser.go#L12075: Alias: item.OriginalName,
js_parser.go#L13020: Alias: alias,
 |
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. |