diff --git a/web-platform/website/next.config.js b/web-platform/website/next.config.js index 30af21fd..6fb03352 100644 --- a/web-platform/website/next.config.js +++ b/web-platform/website/next.config.js @@ -1,10 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, - i18n: { - locales: ["en"], - defaultLocale: "en", - }, eslint: { // Since we run eslint separately, we need not run it from next ignoreDuringBuilds: true, diff --git a/web-platform/website/package.json b/web-platform/website/package.json index 98d52e79..e18bda37 100644 --- a/web-platform/website/package.json +++ b/web-platform/website/package.json @@ -5,13 +5,16 @@ "scripts": { "dev": "npm run setup-firebase-staging && next dev", "build": "npm run format && npm run lint && npm run setup-firebase-prod && next build", + "build-staging": "npm run format && npm run lint && npm run setup-firebase-staging && next build", "start": "next start", "lint": "next lint -c ../../tools/typescript/.eslintrc.js", "format": "prettier --write '**/*.ts[x]' --config ../../tools/typescript/.prettierrc", "setup-firebase-staging": "ln -fs ../firebase/firebase.config.rally-web-stage.json ./firebase.config.json", "setup-firebase-prod": "ln -fs ../firebase/firebase.config.rally-web-prod.json ./firebase.config.json", "test": "jest --verbose 2>&1", - "test:watch": "jest --verbose --watchAll" + "test:watch": "jest --verbose --watchAll", + "export": "npm run build && next export", + "export-staging": "npm run build-staging && next export" }, "dependencies": { "@mozilla/rally-shared-types": "^0.9.32",