github.com/evanw/esbuild/internal/config.Options.Mode (field)
22 uses
github.com/evanw/esbuild/internal/config (current package)
config.go#L164: Mode Mode
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#L472: (repr.ast.HasLazyExport && c.options.Mode == config.ModeConvertFormat && !c.options.OutputFormat.KeepES6ImportExportSyntax()),
linker.go#L512: if repr.ast.HasLazyExport && c.options.Mode == config.ModePassThrough {
linker.go#L625: if c.options.Mode == config.ModePassThrough {
linker.go#L2459: isTreeShakingEnabled := config.IsTreeShakingEnabled(c.options.Mode, c.options.OutputFormat)
linker.go#L3048: shouldStripExports := c.options.Mode != config.ModePassThrough || !file.isEntryPoint
linker.go#L3451: ExtractComments: c.options.Mode == config.ModeBundle && c.options.RemoveWhitespace,
linker.go#L3490: if c.options.Mode != config.ModePassThrough {
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#L307: mode: options.Mode,
github.com/evanw/esbuild/pkg/api
api_impl.go#L750: options.Mode = config.ModeBundle
api_impl.go#L752: options.Mode = config.ModeConvertFormat
api_impl.go#L1119: options.Mode = config.ModeConvertFormat
![]() |
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. |