Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Commit

Permalink
Deployment target for next.js
Browse files Browse the repository at this point in the history
  • Loading branch information
thomik-corp committed Aug 13, 2022
1 parent 8db8066 commit 6c2d592
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 0 additions & 4 deletions web-platform/website/next.config.js
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
5 changes: 4 additions & 1 deletion web-platform/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 6c2d592

Please sign in to comment.