github.com/evanw/esbuild/internal/bundler.file.isEntryPoint (field)
19 uses
github.com/evanw/esbuild/internal/bundler (current package)
bundler.go#L65: isEntryPoint bool
linker.go#L508: file.isEntryPoint = true
linker.go#L1173: if !otherFile.isEntryPoint {
linker.go#L1175: otherFile.isEntryPoint = true
linker.go#L1279: !repr.meta.cjsWrap && file.isEntryPoint {
linker.go#L1365: if !repr.meta.cjsWrap && !repr.meta.cjsStyleExports && (!file.isEntryPoint ||
linker.go#L1498: if str, ok := property.Key.Data.(*js_ast.EString); ok && (!file.isEntryPoint || js_lexer.IsIdentifierUTF16(str.Value)) {
linker.go#L1528: needsEntryPointES6ExportPart := file.isEntryPoint && !repr.meta.cjsWrap &&
linker.go#L1666: if file.isEntryPoint {
linker.go#L1676: if file.isEntryPoint {
linker.go#L1685: if !repr.meta.cjsStyleExports && (!file.isEntryPoint || c.options.OutputFormat != config.FormatCommonJS) {
linker.go#L1700: if repr.ast.ExportKeyword.Len > 0 && (repr.meta.cjsStyleExports || (file.isEntryPoint && c.options.OutputFormat == config.FormatCommonJS)) {
linker.go#L1782: if file.isEntryPoint {
linker.go#L2145: if (!record.SourceIndex.IsValid() && (!c.files[sourceIndex].isEntryPoint || !c.options.OutputFormat.KeepES6ImportExportSyntax())) ||
linker.go#L2503: if !canBeRemovedIfUnused || (!part.ForceTreeShaking && !isTreeShakingEnabled && file.isEntryPoint) {
linker.go#L2509: if file.isEntryPoint {
linker.go#L2577: return record.Kind == ast.ImportDynamic && c.files[record.SourceIndex.GetIndex()].isEntryPoint
linker.go#L2660: if (!record.SourceIndex.IsValid() && (!file.isEntryPoint || !c.options.OutputFormat.KeepES6ImportExportSyntax())) ||
linker.go#L3048: shouldStripExports := c.options.Mode != config.ModePassThrough || !file.isEntryPoint
 |
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. |