Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: dashboard failing build if NODE_ENV is changed #450

Merged
merged 1 commit into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"build": "NODE_ENV=production next build",
"start": "next start",
"lint": "next lint"
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"build:no-dashboard": "npm run clean && npm run build:tsc",
"build:tsc": "tsc --sourceMap",
"build-tests:tsc": "tsc --sourceMap --sourceRoot ./src/test && cp ./src/test/.env.test ./dist/test",
"build:dashboard": "cd dashboard && npm install && npx next build",
"build:dashboard": "cd dashboard && npm install && NODE_ENV=production npx next build",
"client": "mkdir -p ./dist/helpers/scripts/output && node dist/helpers/scripts/clientExample.js",
"clean": "rm -rf ./dist/ ./doc/ ./.nyc_output",
"build-tests": "rm -rf ./dist/test && npm run build-tests:tsc",
Expand Down
Loading