|
| 1 | +{ |
| 2 | + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
| 3 | + "version": 1, |
| 4 | + "newProjectRoot": "projects", |
| 5 | + "projects": { |
| 6 | + "angular-config-loading": { |
| 7 | + "projectType": "application", |
| 8 | + "schematics": { |
| 9 | + "@schematics/angular:component": { |
| 10 | + "style": "scss" |
| 11 | + } |
| 12 | + }, |
| 13 | + "root": "", |
| 14 | + "sourceRoot": "src", |
| 15 | + "prefix": "app", |
| 16 | + "architect": { |
| 17 | + "build": { |
| 18 | + "builder": "@angular-devkit/build-angular:browser", |
| 19 | + "options": { |
| 20 | + "outputPath": "dist/angular-config-loading", |
| 21 | + "index": "src/index.html", |
| 22 | + "main": "src/main.ts", |
| 23 | + "polyfills": "src/polyfills.ts", |
| 24 | + "tsConfig": "tsconfig.app.json", |
| 25 | + "inlineStyleLanguage": "scss", |
| 26 | + "assets": [ |
| 27 | + "src/favicon.ico", |
| 28 | + "src/assets" |
| 29 | + ], |
| 30 | + "styles": [ |
| 31 | + "src/styles.scss" |
| 32 | + ], |
| 33 | + "scripts": [] |
| 34 | + }, |
| 35 | + "configurations": { |
| 36 | + "production": { |
| 37 | + "budgets": [ |
| 38 | + { |
| 39 | + "type": "initial", |
| 40 | + "maximumWarning": "500kb", |
| 41 | + "maximumError": "1mb" |
| 42 | + }, |
| 43 | + { |
| 44 | + "type": "anyComponentStyle", |
| 45 | + "maximumWarning": "2kb", |
| 46 | + "maximumError": "4kb" |
| 47 | + } |
| 48 | + ], |
| 49 | + "fileReplacements": [ |
| 50 | + { |
| 51 | + "replace": "src/environments/environment.ts", |
| 52 | + "with": "src/environments/environment.prod.ts" |
| 53 | + } |
| 54 | + ], |
| 55 | + "outputHashing": "all" |
| 56 | + }, |
| 57 | + "development": { |
| 58 | + "buildOptimizer": false, |
| 59 | + "optimization": false, |
| 60 | + "vendorChunk": true, |
| 61 | + "extractLicenses": false, |
| 62 | + "sourceMap": true, |
| 63 | + "namedChunks": true |
| 64 | + } |
| 65 | + }, |
| 66 | + "defaultConfiguration": "production" |
| 67 | + }, |
| 68 | + "serve": { |
| 69 | + "builder": "@angular-devkit/build-angular:dev-server", |
| 70 | + "configurations": { |
| 71 | + "production": { |
| 72 | + "browserTarget": "angular-config-loading:build:production" |
| 73 | + }, |
| 74 | + "development": { |
| 75 | + "browserTarget": "angular-config-loading:build:development" |
| 76 | + } |
| 77 | + }, |
| 78 | + "defaultConfiguration": "development" |
| 79 | + }, |
| 80 | + "extract-i18n": { |
| 81 | + "builder": "@angular-devkit/build-angular:extract-i18n", |
| 82 | + "options": { |
| 83 | + "browserTarget": "angular-config-loading:build" |
| 84 | + } |
| 85 | + }, |
| 86 | + "test": { |
| 87 | + "builder": "@angular-devkit/build-angular:karma", |
| 88 | + "options": { |
| 89 | + "main": "src/test.ts", |
| 90 | + "polyfills": "src/polyfills.ts", |
| 91 | + "tsConfig": "tsconfig.spec.json", |
| 92 | + "karmaConfig": "karma.conf.js", |
| 93 | + "inlineStyleLanguage": "scss", |
| 94 | + "assets": [ |
| 95 | + "src/favicon.ico", |
| 96 | + "src/assets" |
| 97 | + ], |
| 98 | + "styles": [ |
| 99 | + "src/styles.scss" |
| 100 | + ], |
| 101 | + "scripts": [] |
| 102 | + } |
| 103 | + } |
| 104 | + } |
| 105 | + } |
| 106 | + } |
| 107 | +} |
0 commit comments