const github.com/evanw/esbuild/internal/config.PlatformBrowser
8 uses
github.com/evanw/esbuild/internal/config (current package)
config.go#L30: PlatformBrowser Platform = iota
github.com/evanw/esbuild/internal/bundler
bundler.go#L1907: case config.PlatformBrowser:
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L9361: if p.options.mode == config.ModeBundle && p.options.platform == config.PlatformBrowser {
js_parser.go#L11608: if p.options.platform == config.PlatformBrowser {
github.com/evanw/esbuild/internal/resolver
resolver.go#L29: config.PlatformBrowser: {"browser", "module", "main"},
resolver.go#L957: if browserJson, _, ok := getProperty(json, "browser"); ok && r.options.Platform == config.PlatformBrowser {
github.com/evanw/esbuild/pkg/api
api_impl.go#L90: return config.PlatformBrowser
api_impl.go#L739: case config.PlatformBrowser:
![]() |
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. |