github.com/evanw/esbuild/internal/bundler.fileMeta.cjsStyleExports (field)
22 uses
github.com/evanw/esbuild/internal/bundler (current package)
linker.go#L170: cjsStyleExports bool
linker.go#L470: cjsStyleExports: repr.ast.HasCommonJSFeatures() ||
linker.go#L513: repr.meta.cjsStyleExports = true
linker.go#L1163: otherRepr.meta.cjsStyleExports = true
linker.go#L1168: otherRepr.meta.cjsStyleExports = true
linker.go#L1180: otherRepr.meta.cjsStyleExports = true
linker.go#L1219: if repr.meta.cjsStyleExports &&
linker.go#L1234: if otherRepr.meta.cjsStyleExports {
linker.go#L1365: if !repr.meta.cjsWrap && !repr.meta.cjsStyleExports && (!file.isEntryPoint ||
linker.go#L1427: if repr.meta.cjsStyleExports {
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#L1758: CanBeRemovedIfUnused: !repr.meta.cjsStyleExports,
linker.go#L2128: if repr.meta.cjsStyleExports {
linker.go#L2147: repr.meta.cjsStyleExports = true
linker.go#L2185: if otherRepr.meta.cjsStyleExports {
linker.go#L2294: if otherRepr.meta.cjsStyleExports {
linker.go#L2629: if record.Kind == ast.ImportStmt && !otherRepr.meta.cjsStyleExports {
linker.go#L2661: (record.SourceIndex.IsValid() && record.SourceIndex.GetIndex() != sourceIndex && c.files[record.SourceIndex.GetIndex()].repr.(*reprJS).meta.cjsStyleExports) {
linker.go#L2890: if record.SourceIndex.IsValid() && !c.files[record.SourceIndex.GetIndex()].repr.(*reprJS).meta.cjsStyleExports {
linker.go#L3019: if !c.files[record.SourceIndex.GetIndex()].repr.(*reprJS).meta.cjsStyleExports {
linker.go#L3031: if repr.meta.cjsStyleExports && js_ast.FollowSymbols(c.symbols, namespaceRef) == repr.ast.ExportsRef {
![]() |
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. |