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 {