Add serve options to angular.json for development environment
This commit is contained in:
@@ -64,6 +64,15 @@
|
||||
},
|
||||
"serve": {
|
||||
"builder": "@angular-devkit/build-angular:dev-server",
|
||||
"options": {
|
||||
"buildTarget": "client:build:development",
|
||||
"host": "0.0.0.0",
|
||||
"port": 4200,
|
||||
"proxyConfig": "proxy.conf.json",
|
||||
"allowedHosts": [
|
||||
"dev.vincent-guillet.fr"
|
||||
]
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
"buildTarget": "client:build:production"
|
||||
@@ -104,4 +113,4 @@
|
||||
"cli": {
|
||||
"analytics": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user