github.com/evanw/esbuild/internal/bundler.fileMeta.cjsWrap (field)
13 uses
github.com/evanw/esbuild/internal/bundler (current package)
linker.go#L165: cjsWrap bool
linker.go#L871: } else if repr.meta.cjsWrap && ref != repr.ast.WrapperRef {
linker.go#L1222: repr.meta.cjsWrap = true
linker.go#L1235: otherRepr.meta.cjsWrap = true
linker.go#L1279: !repr.meta.cjsWrap && file.isEntryPoint {
linker.go#L1365: if !repr.meta.cjsWrap && !repr.meta.cjsStyleExports && (!file.isEntryPoint ||
linker.go#L1528: needsEntryPointES6ExportPart := file.isEntryPoint && !repr.meta.cjsWrap &&
linker.go#L1783: if repr.meta.cjsWrap {
linker.go#L2346: if repr.meta.cjsWrap {
linker.go#L2934: canFileBeSplit := !repr.meta.cjsWrap
linker.go#L3050: shouldExtractES6StmtsForCJSWrap := repr.meta.cjsWrap
linker.go#L3582: if repr.meta.cjsWrap {
linker.go#L3809: if fileRepr := c.files[chunk.sourceIndex].repr.(*reprJS); fileRepr.meta.cjsWrap {
![]() |
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. |