aprs.me/lib/aprsme_web
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
..
components Bundle all vendor JavaScript files locally instead of loading from CDNs 2025-07-21 09:52:39 -05:00
controllers Implement critical performance optimizations and error handling 2025-07-18 18:19:49 -05:00
live Bundle all vendor JavaScript files locally instead of loading from CDNs 2025-07-21 09:52:39 -05:00
plugs Configure CSP headers to allow Sentry and CDN scripts 2025-07-18 15:30:36 -05:00
aprs_symbol.ex refactor 2025-07-13 16:49:20 -05:00
endpoint.ex add sentry 2025-07-18 15:07:53 -05:00
gettext.ex more languages 2025-07-06 10:08:58 -05:00
router.ex Implement critical performance optimizations and error handling 2025-07-18 18:19:49 -05:00
telemetry.ex clean up warnings 2025-07-16 08:55:46 -05:00
time_helpers.ex clean up warnings 2025-07-16 08:55:46 -05:00
time_utils.ex refactor and performance improvements 2025-07-10 10:53:34 -05:00
user_auth.ex refactor to use external parser 2025-06-24 14:22:09 -05:00
weather_units.ex fix nil weather units 2025-07-08 12:45:50 -05:00