diff --git a/package.json b/package.json index 02ad5e6f5..d193f1797 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "lint:js": "eslint --ext .js,.jsx,.ts,.tsx ./app/javascript", "webpack:build": "NODE_ENV=production bin/webpack", "lint:types": "tsc", - "graphql:doc:build": "bin/rake graphql:schema:json && graphdoc --force", + "graphql:doc:build": "RAILS_ENV=production bin/rake graphql:schema:json && graphdoc --force", "postinstall": "patch-package", "test": "vitest", "coverage": "vitest run --coverage"