// https://javascript.plainenglish.io/ecmascript-2025-is-now-ready-for-production-df21a6d52157

// Static configuration loading
import appConfig from './config.json' with { type: 'json' };

// Dynamic environment configuration
const envConfig = await import(`./config.${env}.json`, {
  with: { type: 'json' }
});

// Dynamic internationalization resource loading
const locale = navigator.language.slice(0, 2);
const i18n = await import(`./locales/${locale}.json`, {
  with: { type: 'json' }
});