Module bundle-esm-entry

GeoLeaf Bundle ESM Entry Point — Phase 7.

This is the exclusive entry point for ESM bundle generation via Rollup (esmConfig in rollup.config.mjs).

Responsibilities:

  • Side-effects: globals.js (assigns window.GeoLeaf.*) + app/ bootstrap
  • Dynamic _loadModule / _loadAllSecondaryModules helpers for lazy loading
  • 30 named ESM exports intended for third-party bundlers (Vite, webpack, etc.)

Lazy chunks (dist/chunks/) are produced via dynamic import() expressions. Each chunk is a separate network request for optimal code splitting.

2.0.0

app/init for the application initialization sequence

References

Renames and re-exports __type