serve frontend from go
This commit is contained in:
		
							
								
								
									
										96
									
								
								web/angular.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										96
									
								
								web/angular.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,96 @@ | ||||
| { | ||||
|   "$schema": "./node_modules/@angular/cli/lib/config/schema.json", | ||||
|   "version": 1, | ||||
|   "newProjectRoot": "projects", | ||||
|   "projects": { | ||||
|     "frontend": { | ||||
|       "projectType": "application", | ||||
|       "schematics": {}, | ||||
|       "root": "", | ||||
|       "sourceRoot": "src", | ||||
|       "prefix": "app", | ||||
|       "architect": { | ||||
|         "build": { | ||||
|           "builder": "@angular-devkit/build-angular:application", | ||||
|           "options": { | ||||
|             "outputPath": "dist/frontend", | ||||
|             "index": "src/index.html", | ||||
|             "browser": "src/main.ts", | ||||
|             "polyfills": [ | ||||
|               "zone.js" | ||||
|             ], | ||||
|             "tsConfig": "tsconfig.app.json", | ||||
|             "assets": [ | ||||
|               { | ||||
|                 "glob": "**/*", | ||||
|                 "input": "public" | ||||
|               } | ||||
|             ], | ||||
|             "styles": [ | ||||
|               "src/styles.css" | ||||
|             ], | ||||
|             "scripts": [] | ||||
|           }, | ||||
|           "configurations": { | ||||
|             "production": { | ||||
|               "budgets": [ | ||||
|                 { | ||||
|                   "type": "initial", | ||||
|                   "maximumWarning": "500kB", | ||||
|                   "maximumError": "1MB" | ||||
|                 }, | ||||
|                 { | ||||
|                   "type": "anyComponentStyle", | ||||
|                   "maximumWarning": "4kB", | ||||
|                   "maximumError": "8kB" | ||||
|                 } | ||||
|               ], | ||||
|               "outputHashing": "all" | ||||
|             }, | ||||
|             "development": { | ||||
|               "optimization": false, | ||||
|               "extractLicenses": false, | ||||
|               "sourceMap": true | ||||
|             } | ||||
|           }, | ||||
|           "defaultConfiguration": "production" | ||||
|         }, | ||||
|         "serve": { | ||||
|           "builder": "@angular-devkit/build-angular:dev-server", | ||||
|           "configurations": { | ||||
|             "production": { | ||||
|               "buildTarget": "frontend:build:production" | ||||
|             }, | ||||
|             "development": { | ||||
|               "buildTarget": "frontend:build:development" | ||||
|             } | ||||
|           }, | ||||
|           "defaultConfiguration": "development" | ||||
|         }, | ||||
|         "extract-i18n": { | ||||
|           "builder": "@angular-devkit/build-angular:extract-i18n" | ||||
|         }, | ||||
|         "test": { | ||||
|           "builder": "@angular-devkit/build-angular:karma", | ||||
|           "options": { | ||||
|             "polyfills": [ | ||||
|               "zone.js", | ||||
|               "zone.js/testing" | ||||
|             ], | ||||
|             "tsConfig": "tsconfig.spec.json", | ||||
|             "assets": [ | ||||
|               { | ||||
|                 "glob": "**/*", | ||||
|                 "input": "public" | ||||
|               } | ||||
|             ], | ||||
|             "styles": [ | ||||
|               "src/styles.css" | ||||
|             ], | ||||
|             "scripts": [] | ||||
|           } | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|   } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 u80864958
					u80864958