- Fix race condition in map bundle loading by waiting for script to load before initializing map - Ensure Leaflet is properly exposed as window.L in map bundle - Add Leaflet availability check in map initialization function - Disable Exq background jobs in development environment to remove Redis dependency - Remove invalid TelemetryMetricsPrometheus plug from endpoint - Application now starts successfully without Redis in development mode 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
11 lines
No EOL
335 B
JavaScript
11 lines
No EOL
335 B
JavaScript
// Map bundle entry point - combines Leaflet and map plugins
|
|
import "../vendor/js/leaflet-minimal.js";
|
|
import "../vendor/js/plugins-optimized.js";
|
|
|
|
// Ensure Leaflet is available as window.L (standard convention)
|
|
if (window.leaflet && !window.L) {
|
|
window.L = window.leaflet;
|
|
}
|
|
|
|
// Mark bundle as loaded
|
|
window.mapBundleLoaded = true; |