|  | 
| 15 | 15 |  "prefix": "app", | 
| 16 | 16 |  "architect": { | 
| 17 | 17 |  "build": { | 
| 18 |  | - "builder": "@angular-devkit/build-angular:browser", | 
|  | 18 | + "builder": "@angular-devkit/build-angular:application", | 
| 19 | 19 |  "options": { | 
| 20 |  | - "outputPath": "dist/cli-elements-universal/browser", | 
|  | 20 | + "outputHashing": "none", | 
|  | 21 | + "outputPath": "dist/cli-elements-universal", | 
| 21 | 22 |  "index": "src/index.html", | 
| 22 |  | - "main": "src/main.ts", | 
| 23 |  | - "polyfills": [ | 
| 24 |  | - "zone.js" | 
| 25 |  | - ], | 
|  | 23 | + "polyfills": ["zone.js"], | 
| 26 | 24 |  "tsConfig": "tsconfig.app.json", | 
| 27 | 25 |  "aot": true, | 
| 28 |  | - "assets": [ | 
| 29 |  | - "src/favicon.ico", | 
| 30 |  | - "src/assets" | 
| 31 |  | - ], | 
| 32 |  | - "styles": [ | 
| 33 |  | - "src/styles.css" | 
| 34 |  | - ], | 
|  | 26 | + "assets": ["src/favicon.ico", "src/assets"], | 
|  | 27 | + "styles": ["src/styles.css"], | 
| 35 | 28 |  "scripts": [], | 
| 36 | 29 |  "progress": false, | 
| 37 |  | - "buildOptimizer": false, | 
| 38 |  | - "optimization": false | 
|  | 30 | + "optimization": false, | 
|  | 31 | + "browser": "src/main.ts", | 
|  | 32 | + "server": "src/main.server.ts", | 
|  | 33 | + "prerender": true, | 
|  | 34 | + "ssr": false | 
| 39 | 35 |  }, | 
| 40 | 36 |  "configurations": { | 
| 41 | 37 |  "production": { | 
| 42 | 38 |  "optimization": true, | 
| 43 |  | - "outputHashing": "all", | 
|  | 39 | + "outputHashing": "none", | 
| 44 | 40 |  "sourceMap": false, | 
| 45 | 41 |  "namedChunks": false, | 
| 46 | 42 |  "extractLicenses": true, | 
| 47 |  | - "vendorChunk": false, | 
| 48 |  | - "buildOptimizer": true, | 
| 49 | 43 |  "budgets": [ | 
| 50 | 44 |  { | 
| 51 | 45 |  "type": "initial", | 
|  | 
| 81 | 75 |  "test": { | 
| 82 | 76 |  "builder": "@angular-devkit/build-angular:karma", | 
| 83 | 77 |  "options": { | 
| 84 |  | - "polyfills": [ | 
| 85 |  | - "zone.js", | 
| 86 |  | - "zone.js/testing" | 
| 87 |  | - ], | 
|  | 78 | + "polyfills": ["zone.js", "zone.js/testing"], | 
| 88 | 79 |  "tsConfig": "tsconfig.spec.json", | 
| 89 | 80 |  "karmaConfig": "karma.conf.js", | 
| 90 |  | - "assets": [ | 
| 91 |  | - "src/favicon.ico", | 
| 92 |  | - "src/assets" | 
| 93 |  | - ], | 
| 94 |  | - "styles": [ | 
| 95 |  | - "src/styles.css" | 
| 96 |  | - ], | 
|  | 81 | + "assets": ["src/favicon.ico", "src/assets"], | 
|  | 82 | + "styles": ["src/styles.css"], | 
| 97 | 83 |  "scripts": [], | 
| 98 | 84 |  "watch": false | 
| 99 | 85 |  } | 
|  | 
| 107 | 93 |  "e2e/tsconfig.json", | 
| 108 | 94 |  "tsconfig.server.json" | 
| 109 | 95 |  ], | 
| 110 |  | - "exclude": [ | 
| 111 |  | - "**/node_modules/**" | 
| 112 |  | - ] | 
|  | 96 | + "exclude": ["**/node_modules/**"] | 
| 113 | 97 |  } | 
| 114 | 98 |  }, | 
| 115 | 99 |  "e2e": { | 
|  | 
| 124 | 108 |  "devServerTarget": "cli-elements-universal:serve:production" | 
| 125 | 109 |  } | 
| 126 | 110 |  } | 
| 127 |  | - }, | 
| 128 |  | - "server": { | 
| 129 |  | - "builder": "@angular-devkit/build-angular:server", | 
| 130 |  | - "options": { | 
| 131 |  | - "outputPath": "dist/cli-elements-universal/server", | 
| 132 |  | - "main": "src/main.server.ts", | 
| 133 |  | - "tsConfig": "tsconfig.server.json", | 
| 134 |  | - "progress": false, | 
| 135 |  | - "optimization": false | 
| 136 |  | - }, | 
| 137 |  | - "configurations": { | 
| 138 |  | - "production": { | 
| 139 |  | - "outputHashing": "media", | 
| 140 |  | - "sourceMap": false, | 
| 141 |  | - "optimization": true | 
| 142 |  | - } | 
| 143 |  | - } | 
| 144 |  | - }, | 
| 145 |  | - "app-shell": { | 
| 146 |  | - "builder": "@angular-devkit/build-angular:app-shell", | 
| 147 |  | - "options": { | 
| 148 |  | - "browserTarget": "cli-elements-universal:build", | 
| 149 |  | - "serverTarget": "cli-elements-universal:server", | 
| 150 |  | - "route": "" | 
| 151 |  | - }, | 
| 152 |  | - "configurations": { | 
| 153 |  | - "production": { | 
| 154 |  | - "browserTarget": "cli-elements-universal:build:production", | 
| 155 |  | - "serverTarget": "cli-elements-universal:server:production" | 
| 156 |  | - } | 
| 157 |  | - } | 
| 158 | 111 |  } | 
| 159 | 112 |  } | 
| 160 | 113 |  } | 
|  | 
0 commit comments