github.com/evanw/esbuild/internal/config.Format.KeepES6ImportExportSyntax (method)
14 uses
github.com/evanw/esbuild/internal/config (current package)
config.go#L121: func (f Format) KeepES6ImportExportSyntax() bool {
github.com/evanw/esbuild/internal/bundler
linker.go#L472: (repr.ast.HasLazyExport && c.options.Mode == config.ModeConvertFormat && !c.options.OutputFormat.KeepES6ImportExportSyntax()),
linker.go#L1995: if status == importExternal && c.options.OutputFormat.KeepES6ImportExportSyntax() {
linker.go#L2145: if (!record.SourceIndex.IsValid() && (!c.files[sourceIndex].isEntryPoint || !c.options.OutputFormat.KeepES6ImportExportSyntax())) ||
linker.go#L2620: if record.Kind != ast.ImportRequire && !c.options.OutputFormat.KeepES6ImportExportSyntax() {
linker.go#L2660: if (!record.SourceIndex.IsValid() && (!file.isEntryPoint || !c.options.OutputFormat.KeepES6ImportExportSyntax())) ||
linker.go#L3023: } else if c.options.OutputFormat.KeepES6ImportExportSyntax() {
linker.go#L3074: if !record.SourceIndex.IsValid() && c.options.OutputFormat.KeepES6ImportExportSyntax() {
linker.go#L3589: if c.options.OutputFormat.KeepES6ImportExportSyntax() {
linker.go#L3807: if c.options.OutputFormat.KeepES6ImportExportSyntax() {
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L11144: if !p.options.outputFormat.KeepES6ImportExportSyntax() {
js_parser.go#L12894: (p.options.mode != config.ModePassThrough && !p.options.outputFormat.KeepES6ImportExportSyntax())) {
js_parser_lower.go#L26: if p.options.mode == config.ModeConvertFormat && !p.options.outputFormat.KeepES6ImportExportSyntax() {
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L1276: if !record.SourceIndex.IsValid() && record.Kind == ast.ImportDynamic && p.options.OutputFormat.KeepES6ImportExportSyntax() {
![]() |
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. |