chore: gitignore generated _templ.go files, track .templ sources
Generated _templ.go files are deterministic output from .templ sources, same as output.css from input.css. Remove them from version control to reduce diff noise and merge conflicts. Add build:templ and live:templ tasks to the Taskfile so generation happens as part of the build.
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -22,7 +22,8 @@
|
||||
|
||||
!assets/**/*
|
||||
|
||||
# Generated CSS stays out of version control
|
||||
# Generated files stay out of version control
|
||||
*_templ.go
|
||||
assets/css/output.css
|
||||
|
||||
# Deploy scripts and configs
|
||||
|
||||
Reference in New Issue
Block a user