type github.com/evanw/esbuild/internal/config.DefineData
19 uses
github.com/evanw/esbuild/internal/config (current package)
globals.go#L820: type DefineData struct {
globals.go#L837: func mergeDefineData(old DefineData, new DefineData) DefineData {
globals.go#L852: Data DefineData
globals.go#L856: IdentifierDefines map[string]DefineData
globals.go#L865: func ProcessDefines(userDefines map[string]DefineData) ProcessedDefines {
globals.go#L878: IdentifierDefines: make(map[string]DefineData),
globals.go#L890: result.IdentifierDefines[tail] = DefineData{CanBeRemovedIfUnused: true}
globals.go#L892: result.DotDefines[tail] = append(result.DotDefines[tail], DotDefine{Parts: parts, Data: 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#L910: Data: DefineData{WarnAboutLackOfDefine: true},
github.com/evanw/esbuild/internal/bundler
bundler.go#L1914: result := config.ProcessDefines(map[string]config.DefineData{
github.com/evanw/esbuild/pkg/api
api_impl.go#L383: rawDefines := make(map[string]config.DefineData)
api_impl.go#L400: rawDefines[key] = config.DefineData{
api_impl.go#L442: rawDefines[key] = config.DefineData{DefineFunc: fn}
api_impl.go#L452: rawDefines[key] = config.DefineData{DefineFunc: func(args config.DefineArgs) js_ast.E {
![]() |
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. |