import { createApp } from './app'; import type { ProductionInputs } from './content/types'; declare global { interface Window { __PORTFOLIO_INPUTS__?: Readonly; } } const inputs = window.__PORTFOLIO_INPUTS__; if (inputs === undefined) { throw new Error('The serialized portfolio input snapshot is unavailable.'); } createApp(inputs).mount('#app');