github.com/evanw/esbuild/internal/js_printer.Joiner.AddBytes (method)
15 uses
github.com/evanw/esbuild/internal/js_printer (current package)
js_printer.go#L51: j.AddBytes(bytes.Repeat([]byte{';'}, startState.GeneratedLine))
js_printer.go#L61: j.AddBytes(sourceMap[:semicolons])
js_printer.go#L83: j.AddBytes(appendMapping(nil, j.lastByte, prevEndState, startState))
js_printer.go#L86: j.AddBytes(sourceMap)
js_printer.go#L143: func (j *Joiner) AddBytes(data []byte) {
github.com/evanw/esbuild/internal/bundler
bundler.go#L1300: j.AddBytes(js_printer.QuoteForJSON(result.file.source.PrettyPath, s.options.ASCIIOnly))
bundler.go#L1771: j.AddBytes(file.jsonMetadataChunk)
bundler.go#L1795: j.AddBytes(result.jsonMetadataChunk)
linker.go#L3781: j.AddBytes(crossChunkPrefix)
linker.go#L3902: j.AddBytes(compileResult.JS)
linker.go#L3906: j.AddBytes(compileResult.JS)
linker.go#L3943: j.AddBytes(entryPointTail.JS)
linker.go#L3951: j.AddBytes(crossChunkSuffix)
linker.go#L4525: j.AddBytes(js_printer.QuoteForJSON(item.prettyPath, c.options.ASCIIOnly))
linker.go#L4536: j.AddBytes(item.quotedContents)
![]() |
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. |