github.com/evanw/esbuild/internal/js_parser.parser.hasESModuleSyntax (field)
5 uses
github.com/evanw/esbuild/internal/js_parser (current package)
js_parser.go#L44: hasESModuleSyntax bool
js_parser.go#L9685: if p.hasESModuleSyntax {
js_parser.go#L11270: if p.options.mode == config.ModeBundle && !p.hasESModuleSyntax {
js_parser.go#L12868: p.hasESModuleSyntax = p.es6ImportKeyword.Len > 0 || p.es6ExportKeyword.Len > 0 || p.topLevelAwaitKeyword.Len > 0
js_parser.go#L12934: kind == js_ast.SymbolHoisted && !p.hasESModuleSyntax {
![]() |
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. |