Build tags from .templ files are not included in generated Go files
Build tags from .templ files are not included in generated Go files: a task in LegoFlow-SWE (Harbor dataset). When a .templ file starts with a Go build directive ( //go:build or // +build ) before the package declaration, the generated Go file does not contain that directive. This breaks…
The task
When a `.templ` file starts with a Go build directive (`//go:build` or `// +build`) before the package declaration, the generated Go file does not contain that directive. This breaks conditional compilation for templates.
Part of Lego-X/LegoFlow-SWE.