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 {
![]() |
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. |