github.com/evanw/esbuild/internal/js_ast.AST.HasCommonJSFeatures (method)
3 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L1721: func (ast *AST) HasCommonJSFeatures() bool {
github.com/evanw/esbuild/internal/bundler
linker.go#L470: cjsStyleExports: repr.ast.HasCommonJSFeatures() ||
linker.go#L477: skipCallingToModule: repr.ast.ExportKeyword.Len > 0 && !repr.ast.HasCommonJSFeatures(),
![]() |
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. |