diff --git a/apps/cart/project.json b/apps/cart/project.json index 4ec9a52d..3c596a43 100644 --- a/apps/cart/project.json +++ b/apps/cart/project.json @@ -71,9 +71,11 @@ "defaultConfiguration": "production" }, "serve": { - "executor": "@nx/webpack:dev-server", + "executor": "@nx/js:node", + "dependsOn": ["build"], "options": { - "buildTarget": "cart:build" + "buildTarget": "cart:build", + "runBuildTargetDependencies": false }, "configurations": { "production": { @@ -81,6 +83,11 @@ }, "development": { "buildTarget": "cart:build:development" + }, + "repl": { + "buildTargetOptions": { + "main": "{projectRoot}/src/repl.ts" + } } }, "defaultConfiguration": "development"