Files
cv-site/.gitignore
T
juanatsap 95de841e14 feat: Add CSS bundling with Lightning CSS for production optimization
- Add Lightning CSS integration for CSS bundling and minification
- Create Makefile targets: css-dev, css-prod, css-watch, css-clean
- Implement conditional CSS loading based on GO_ENV (dev=modular, prod=bundled)
- Add IsProduction template variable for environment-aware rendering
- Keep print.css separate with media="print" for PDF export
- Add static/dist/ to .gitignore (generated bundles)
- Fix Go template syntax in _cv-header.css
- Remove redundant font @import in _typography.css

Performance gains:
- 27 HTTP requests → 1 (96% reduction)
- 188KB → 86KB CSS (54% reduction)
- ~15KB gzip network transfer

Documentation:
- Update 12-CSS-ARCHITECTURE.md with bundling section
- Add Phase 9 to 2-MODERN-WEB-TECHNIQUES.md
- Add css-bundling.test.mjs Playwright test (8/8 pass)
2025-11-30 12:32:46 +00:00

65 lines
752 B
Plaintext

# Binaries
cv-server
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binaries
*.test
# Output
*.out
# Go workspace
go.work
# IDE
.vscode/
.idea/
*.swp
*.swo
*~
# OS
.DS_Store
Thumbs.db
# Temp files
*.tmp
*.log
cv-app
static/psd
static/psd/yo DNI.psd
# CSS build output (generated by Lightning CSS)
static/dist/
# Temporary implementation artifacts (prevent clutter)
*_SUMMARY.md
*_REPORT.md
*_COMPLETE.md
*-COMPLETE.md
*-FIXES.md
*-VALIDATION.md
QUICK_START_*.md
benchmark_*.sh
verify_*.sh
validate_*.sh
test_*.sh
final_validation.sh
# Coverage reports
coverage.html
coverage.out
*.coverprofile
.claude
playwright.config.js
# Test artifacts
tests/screenshots/
# Personal learning documentation README (private goals and notes)
_go-learning/README.md