From ccf4d5945ecaadba2ef6a7463160844533ca869d Mon Sep 17 00:00:00 2001 From: Danny McGee Date: Mon, 2 Oct 2023 22:08:05 -0400 Subject: [PATCH] Fix `studio-frontend:preview` configuration --- studio-frontend/project.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/studio-frontend/project.json b/studio-frontend/project.json index d035894..e696f9d 100644 --- a/studio-frontend/project.json +++ b/studio-frontend/project.json @@ -54,7 +54,13 @@ }, "preview": { "executor": "@nx/vite:preview-server", - "defaultConfiguration": "development", + "defaultConfiguration": "production", + "dependsOn": [ + { + "projects": ["studio"], + "target": "build:web" + } + ], "options": { "buildTarget": "studio-frontend:build" },