|
5 | 5 | "projects": { |
6 | 6 | "angular-starter": { |
7 | 7 | "projectType": "application", |
8 | | - "schematics": {}, |
| 8 | + "schematics": { |
| 9 | + "@schematics/angular:component": { |
| 10 | + "style": "scss" |
| 11 | + } |
| 12 | + }, |
9 | 13 | "root": "", |
10 | 14 | "sourceRoot": "src", |
11 | 15 | "prefix": "app", |
12 | 16 | "architect": { |
13 | 17 | "build": { |
14 | | - "builder": "@angular-devkit/build-angular:browser", |
| 18 | + "builder": "@angular-devkit/build-angular:application", |
15 | 19 | "options": { |
16 | | - "outputPath": "dist/angular-starter", |
| 20 | + "outputPath": { |
| 21 | + "base": "dist/angular-starter" |
| 22 | + }, |
17 | 23 | "index": "src/index.html", |
18 | | - "main": "src/main.ts", |
19 | | - "polyfills": "src/polyfills.ts", |
| 24 | + "polyfills": [ |
| 25 | + "src/polyfills.ts" |
| 26 | + ], |
20 | 27 | "tsConfig": "tsconfig.app.json", |
21 | 28 | "assets": ["src/favicon.ico", "src/assets"], |
22 | 29 | "styles": [ |
23 | 30 | "./node_modules/@angular/material/prebuilt-themes/indigo-pink.css", |
24 | 31 | "src/styles.css" |
25 | 32 | ], |
26 | 33 | "scripts": [], |
27 | | - "vendorChunk": true, |
28 | 34 | "extractLicenses": false, |
29 | | - "buildOptimizer": false, |
30 | 35 | "sourceMap": true, |
31 | 36 | "optimization": false, |
32 | 37 | "namedChunks": true, |
33 | | - "preserveSymlinks": true |
| 38 | + "preserveSymlinks": true, |
| 39 | + "browser": "src/main.ts" |
34 | 40 | }, |
35 | 41 | "configurations": { |
36 | 42 | "production": { |
|
45 | 51 | "sourceMap": false, |
46 | 52 | "namedChunks": false, |
47 | 53 | "extractLicenses": true, |
48 | | - "vendorChunk": false, |
49 | | - "buildOptimizer": true, |
50 | 54 | "budgets": [ |
51 | 55 | { |
52 | 56 | "type": "initial", |
|
64 | 68 | "defaultConfiguration": "" |
65 | 69 | }, |
66 | 70 | "serve": { |
67 | | - "builder": "@angular-devkit/build-angular:dev-server", |
| 71 | + "builder": "@angular/build:dev-server", |
68 | 72 | "options": { |
69 | 73 | "buildTarget": "angular-starter:build" |
70 | 74 | }, |
|
75 | 79 | } |
76 | 80 | }, |
77 | 81 | "extract-i18n": { |
78 | | - "builder": "@angular-devkit/build-angular:extract-i18n", |
| 82 | + "builder": "@angular/build:extract-i18n", |
79 | 83 | "options": { |
80 | 84 | "buildTarget": "angular-starter:build" |
81 | 85 | } |
|
0 commit comments