github.com/evanw/esbuild/internal/config.ProcessedDefines.IdentifierDefines (field)
11 uses
github.com/evanw/esbuild/internal/config (current package)
globals.go#L856: IdentifierDefines map[string]DefineData
globals.go#L878: IdentifierDefines: make(map[string]DefineData),
globals.go#L890: result.IdentifierDefines[tail] = DefineData{CanBeRemovedIfUnused: true}
globals.go#L897: result.IdentifierDefines["undefined"] = DefineData{
globals.go#L900: result.IdentifierDefines["NaN"] = DefineData{
globals.go#L903: result.IdentifierDefines["Infinity"] = DefineData{
globals.go#L920: result.IdentifierDefines[key] = mergeDefineData(result.IdentifierDefines[key], data)
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L347: len(a.defines.IdentifierDefines) != len(b.defines.IdentifierDefines) ||
js_parser.go#L9917: if data, ok := p.options.defines.IdentifierDefines[name]; ok {
![]() |
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. |