github.com/evanw/esbuild/internal/config.Options.Platform (field)

11 uses

	github.com/evanw/esbuild/internal/config (current package)
		config.go#L197: 	Platform Platform

	github.com/evanw/esbuild/internal/bundler
		bundler.go#L463: 						if args.options.Platform != config.PlatformNode {
		bundler.go#L1825: 		Platform:          options.Platform,
		bundler.go#L1860: 		Platform:          key.Platform,

	github.com/evanw/esbuild/internal/js_parser
		js_parser.go#L308: 			platform:                       options.Platform,

	github.com/evanw/esbuild/internal/resolver
		resolver.go#L171: 	if options.Platform == config.PlatformNode {
		resolver.go#L941: 		mainFields = defaultMainFields[r.options.Platform]
		resolver.go#L957: 	if browserJson, _, ok := getProperty(json, "browser"); ok && r.options.Platform == config.PlatformBrowser {
		resolver.go#L1214: 			mainFields = defaultMainFields[r.options.Platform]

	github.com/evanw/esbuild/pkg/api
		api_impl.go#L643: 		Platform:              validatePlatform(buildOpts.Platform),
		api_impl.go#L738: 		switch options.Platform {