From bee077233e1e7d96d79d0f6e63ba84a83d5fd31e Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Thu, 9 Apr 2026 09:49:02 -0400 Subject: [PATCH] fix: remove learnerDashboardMessages export from index.ts The old App.messages pattern included apps exporting their messages via \`src/index.ts\`. There is no reason for apps to export this. The file only exists so the app can run as a site with \`npm run dev\`. With frontend-base's i18n pipeline, translations are handled at the site level via \`site.i18n\`. App-only testing didn't catch this because the webpack fallback plugin correctly resolves the missing messages file when \`npm run dev\` is running the app as a site from the repo root (\`src/i18n/\` context). The broken export only surfaces when the compiled \`dist/\` is consumed by a site. Co-Authored-By: Claude Sonnet 4.6 --- src/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 8c9959416..432758869 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,2 @@ export { default as learnerDashboardApp } from './app'; export { default as learnerDashboardRoutes } from './routes'; -export { default as learnerDashboardMessages } from './i18n';