chore: add local build configuration and update formatting for allowed hosts in angular.json
This commit is contained in:
15
angular.json
15
angular.json
@@ -36,7 +36,10 @@
|
||||
"server": "src/main.server.ts",
|
||||
"outputMode": "server",
|
||||
"security": {
|
||||
"allowedHosts": ["localhost", "127.0.0.1"]
|
||||
"allowedHosts": [
|
||||
"localhost",
|
||||
"127.0.0.1"
|
||||
]
|
||||
},
|
||||
"ssr": {
|
||||
"entry": "src/server.ts"
|
||||
@@ -59,6 +62,11 @@
|
||||
"outputHashing": "all"
|
||||
},
|
||||
"development": {
|
||||
"optimization": true,
|
||||
"extractLicenses": false,
|
||||
"sourceMap": true
|
||||
},
|
||||
"local": {
|
||||
"optimization": false,
|
||||
"extractLicenses": false,
|
||||
"sourceMap": true
|
||||
@@ -74,6 +82,9 @@
|
||||
},
|
||||
"development": {
|
||||
"buildTarget": "shopit-front:build:development"
|
||||
},
|
||||
"local": {
|
||||
"buildTarget": "shopit-front:build:local"
|
||||
}
|
||||
},
|
||||
"defaultConfiguration": "development"
|
||||
@@ -84,4 +95,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user