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

33 uses

	github.com/evanw/esbuild/internal/config (current package)
		config.go#L160: 	ModeBundle
		config.go#L330: 	return mode == ModeBundle || (mode == ModeConvertFormat && outputFormat == FormatIIFE)

	github.com/evanw/esbuild/internal/bundler
		bundler.go#L389: 	if args.options.Mode == config.ModeBundle && !args.skipResolve {
		bundler.go#L988: 	if inject != nil && optionsClone.Mode != config.ModeBundle {
		bundler.go#L989: 		optionsClone.Mode = config.ModeBundle
		bundler.go#L1246: 		if s.options.Mode == config.ModeBundle {
		bundler.go#L1305: 		if s.options.Mode == config.ModeBundle {
		bundler.go#L1513: 	if options.Mode == config.ModeBundle && options.OutputFormat == config.FormatPreserve {
		bundler.go#L1867: 		Mode: config.ModeBundle,
		linker.go#L471: 					(options.Mode == config.ModeBundle && repr.ast.ModuleScope.ContainsDirectEval) ||
		linker.go#L3451: 		ExtractComments:     c.options.Mode == config.ModeBundle && c.options.RemoveWhitespace,
		linker.go#L3877: 			if c.options.Mode == config.ModeBundle && !c.options.RemoveWhitespace && prevComment != compileResult.sourceIndex && len(compileResult.JS) > 0 {
		linker.go#L4260: 			if c.options.Mode == config.ModeBundle && !c.options.RemoveWhitespace {

	github.com/evanw/esbuild/internal/js_parser
		js_parser.go#L1004: 	if p.options.mode == config.ModeBundle && p.currentScope.Parent == nil {
		js_parser.go#L1011: 	if p.options.mode == config.ModeBundle && kind == js_ast.LocalConst && p.options.mangleSyntax {
		js_parser.go#L1108: 			if p.options.mode == config.ModeBundle && p.currentScope.Parent == nil &&
		js_parser.go#L8723: 	if p.options.mode != config.ModeBundle || p.currentScope == p.moduleScope {
		js_parser.go#L8963: 		(p.options.mode == config.ModeBundle && p.currentScope.Parent == nil)
		js_parser.go#L9361: 	if p.options.mode == config.ModeBundle && p.options.platform == config.PlatformBrowser {
		js_parser.go#L9391: 		if p.options.mode == config.ModeBundle {
		js_parser.go#L9908: 			if p.options.mode == config.ModeBundle {
		js_parser.go#L10579: 		if p.options.mode == config.ModeBundle && (in.assignTarget != js_ast.AssignTargetNone || isDeleteTarget) {
		js_parser.go#L10604: 			if p.options.mode == config.ModeBundle {
		js_parser.go#L11109: 			if p.options.mode == config.ModeBundle {
		js_parser.go#L11270: 					if p.options.mode == config.ModeBundle && !p.hasESModuleSyntax {
		js_parser.go#L11285: 					if p.options.mode == config.ModeBundle && p.es6ImportKeyword.Len > 0 && !p.options.suppressWarningsAboutWeirdCode {
		js_parser.go#L11338: 				if p.options.mode == config.ModeBundle {
		js_parser.go#L11557: 	if p.options.mode == config.ModeBundle && (opts.assignTarget != js_ast.AssignTargetNone || opts.isDeleteTarget) {
		js_parser.go#L11767: 				p.options.mode != config.ModeBundle && !p.options.minifyIdentifiers
		js_parser.go#L12719: 	if p.options.mode != config.ModeBundle {
		js_parser_lower.go#L22: 			if p.options.mode == config.ModeBundle {
		js_parser_lower.go#L1663: 	avoidTDZ := p.options.mode == config.ModeBundle && p.currentScope.Parent == nil

	github.com/evanw/esbuild/pkg/api
		api_impl.go#L750: 		options.Mode = config.ModeBundle