aprs.me/assets/js
Graham McIntire 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
..
features Fix trail lines not connecting historical positions 2025-07-21 08:31:16 -05:00
hooks cleanup 2025-07-18 14:44:52 -05:00
types Fix JavaScript error when navigating from map to weather page 2025-07-20 08:19:51 -05:00
app.js Use Sentry Loader script to handle CORS errors gracefully 2025-07-18 15:51:21 -05:00
map.ts Fix trail lines not connecting historical positions 2025-07-21 08:31:16 -05:00
map_fixes.ts Remove debug console.log statements from JavaScript files 2025-07-18 15:37:05 -05:00
map_helpers.ts Improve type safety for getTrailId function 2025-07-21 08:36:38 -05:00
topbar.js js tweak 2025-07-05 13:16:37 -05:00
vendor.js Bundle all vendor JavaScript files locally instead of loading from CDNs 2025-07-21 09:52:39 -05:00