github.com/evanw/esbuild/internal/js_ast.Part.CanBeRemovedIfUnused (field)
7 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L1780: CanBeRemovedIfUnused bool
github.com/evanw/esbuild/internal/bundler
linker.go#L1247: CanBeRemovedIfUnused: true,
linker.go#L1479: CanBeRemovedIfUnused: true,
linker.go#L1758: CanBeRemovedIfUnused: !repr.meta.cjsStyleExports,
linker.go#L2467: canBeRemovedIfUnused := part.CanBeRemovedIfUnused
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L12131: part.CanBeRemovedIfUnused = p.stmtsCanBeRemovedIfUnused(part.Stmts)
js_parser.go#L13078: part.CanBeRemovedIfUnused = false
![]() |
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. |