Imports Chart.js, D3.js, and Papa Parse as ES modules and registers them on globalThis.
Dashboard modules access these libraries via (globalThis as any).Chart,
(globalThis as any).d3, and (globalThis as any).Papa. ES module side-effect
imports (import 'chart.js/auto') do NOT set globals, so this module must be
imported before any dashboard module to ensure the globals are available at
module-evaluation time.
Security
No inline scripts — all library loading is programmatic via Vite bundling
Description
Imports Chart.js, D3.js, and Papa Parse as ES modules and registers them on globalThis.
Dashboard modules access these libraries via
(globalThis as any).Chart,(globalThis as any).d3, and(globalThis as any).Papa. ES module side-effect imports (import 'chart.js/auto') do NOT set globals, so this module must be imported before any dashboard module to ensure the globals are available at module-evaluation time.Security
No inline scripts — all library loading is programmatic via Vite bundling