const github.com/evanw/esbuild/internal/config.FormatCommonJS

12 uses

	github.com/evanw/esbuild/internal/config (current package)
		config.go#L111: 	FormatCommonJS
		config.go#L129: 	case FormatCommonJS:

	github.com/evanw/esbuild/internal/bundler
		linker.go#L520: 			if repr.ast.ExportKeyword.Len > 0 && (options.OutputFormat == config.FormatCommonJS ||
		linker.go#L529: 	if c.options.OutputFormat == config.FormatCommonJS {
		linker.go#L1278: 		if (c.options.OutputFormat == config.FormatPreserve || c.options.OutputFormat == config.FormatCommonJS) &&
		linker.go#L1366: 			c.options.OutputFormat != config.FormatCommonJS) {
		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#L1804: 			case config.FormatCommonJS:

	github.com/evanw/esbuild/internal/js_parser
		js_parser.go#L10772: 		if p.options.outputFormat == config.FormatCommonJS {

	github.com/evanw/esbuild/pkg/api
		api_impl.go#L107: 		return config.FormatCommonJS
		api_impl.go#L742: 			options.OutputFormat = config.FormatCommonJS