fix(sample-website): add missing i18n configuration to fix build failure
All checks were successful
Code Quality / lint-and-build (push) Successful in 2m44s
Release Packages / release (push) Successful in 2m33s

This commit is contained in:
2026-02-02 13:17:55 +01:00
parent bb8665212a
commit c9db75c945
4 changed files with 410 additions and 11 deletions

View File

@@ -0,0 +1,5 @@
{
"Index": {
"title": "Welcome"
}
}

View File

@@ -11,18 +11,19 @@
"test": "vitest run"
},
"dependencies": {
"@mintel/next-utils": "workspace:*",
"next": "15.1.6",
"next-intl": "^4.8.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"@mintel/next-utils": "workspace:*"
"react-dom": "^19.0.0"
},
"devDependencies": {
"@mintel/eslint-config": "workspace:*",
"@mintel/next-config": "workspace:*",
"@mintel/tsconfig": "workspace:*",
"@types/node": "^20.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"typescript": "^5.0.0",
"@mintel/tsconfig": "workspace:*",
"@mintel/eslint-config": "workspace:*",
"@mintel/next-config": "workspace:*"
"typescript": "^5.0.0"
}
}

View File

@@ -0,0 +1,7 @@
import { createMintelI18nRequestConfig } from "@mintel/next-utils";
export default createMintelI18nRequestConfig(
["en"],
"en",
(locale) => import(`../../messages/${locale}.json`),
);