github.com/evanw/esbuild/internal/logger.Log.AddRangeWarningWithNotes (method)
8 uses
github.com/evanw/esbuild/internal/logger (current package)
logger.go#L1273: func (log Log) AddRangeWarningWithNotes(source *Source, r Range, text string, notes []MsgData) {
github.com/evanw/esbuild/internal/bundler
bundler.go#L1426: s.log.AddRangeWarningWithNotes(&result.file.source, record.Range,
linker.go#L1923: c.log.AddRangeWarningWithNotes(&file.source, r, msg, notes)
github.com/evanw/esbuild/internal/css_parser
css_parser.go#L179: p.log.AddRangeWarningWithNotes(&p.source, first, "\"@charset\" must be the first rule in the file",
css_parser.go#L192: p.log.AddRangeWarningWithNotes(&p.source, first, "All \"@import\" rules must come first",
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L9911: p.log.AddRangeWarningWithNotes(&p.source, r, fmt.Sprintf("This assignment will throw because %q is a constant", name), notes)
js_parser.go#L11036: p.log.AddRangeWarningWithNotes(&p.source, r, fmt.Sprintf("Duplicate key %q in object literal", key),
js_parser.go#L11511: p.log.AddRangeWarningWithNotes(&p.source, r, fmt.Sprintf(
 |
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. |