Skip to content

Commit 25c0286

Browse files
committed
fix(cockpit): add fileReplacements for dev environment in Angular build
1 parent 87ef892 commit 25c0286

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

cockpit/langgraph/streaming/angular/project.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,23 @@
1313
"browser": "cockpit/langgraph/streaming/angular/src/main.ts",
1414
"tsConfig": "cockpit/langgraph/streaming/angular/tsconfig.app.json",
1515
"styles": ["cockpit/langgraph/streaming/angular/src/styles.css"]
16-
}
16+
},
17+
"configurations": {
18+
"development": {
19+
"fileReplacements": [
20+
{
21+
"replace": "cockpit/langgraph/streaming/angular/src/environments/environment.ts",
22+
"with": "cockpit/langgraph/streaming/angular/src/environments/environment.development.ts"
23+
}
24+
]
25+
}
26+
},
27+
"defaultConfiguration": "development"
1728
},
1829
"serve": {
1930
"executor": "@angular/build:dev-server",
2031
"options": {
21-
"buildTarget": "cockpit-langgraph-streaming-angular:build",
32+
"buildTarget": "cockpit-langgraph-streaming-angular:build:development",
2233
"port": 4300,
2334
"proxyConfig": "cockpit/langgraph/streaming/angular/proxy.conf.json"
2435
}

0 commit comments

Comments
 (0)