Commit graph

9 commits

Author SHA1 Message Date
9b034cd211
vendor all js 2025-07-21 11:09:14 -05:00
7dc6c616a2
Bundle all vendor JavaScript files locally instead of loading from CDNs
This change eliminates all external CDN dependencies by bundling JavaScript
libraries locally using esbuild. All vendor files are now served from the
application's own assets, improving reliability and privacy.

Changes:
- Created assets/js/vendor.js to bundle all external libraries
- Added vendor bundle configuration to esbuild in config files
- Updated all templates to use local vendor.js instead of CDN scripts
- Created download-vendor-files.sh script to fetch vendor libraries
- Added vendor files to .gitignore (they're downloaded during setup)
- Updated CSS imports to include vendor stylesheets
- Added vendor build step to assets.deploy mix task

Bundled libraries:
- Leaflet 1.9.4 (mapping library)
- Leaflet.heat 0.2.0 (heatmap plugin)
- Leaflet.markercluster 1.5.3 (marker clustering)
- OverlappingMarkerSpiderfier 0.2.6 (overlapping marker handling)
- Chart.js 4.5.0 (charting library)
- chartjs-adapter-date-fns 3.0.0 (date adapter for Chart.js)

All functionality tested and working correctly with local bundles.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 09:52:39 -05:00
7bc12d98d0
topbar vendor 2025-07-05 13:20:36 -05:00
ed545467c5
daisyui tweaks 2025-07-05 09:41:08 -05:00
53b82c70d4
deploy fix 2025-07-05 09:29:11 -05:00
c8ee465015
weather charts 2025-07-03 11:29:01 -05:00
3fb11706d2
dont parse images for titles 2025-06-19 12:08:52 -05:00
369ce05f1a
typescript 2025-06-18 12:26:13 -05:00
d40567dfeb initial 2023-01-26 13:20:23 -06:00