|
| 1 | +{ |
| 2 | + "name": "angular-async-redirect", |
| 3 | + "$schema": "../../../node_modules/nx/schemas/project-schema.json", |
| 4 | + "projectType": "application", |
| 5 | + "prefix": "app", |
| 6 | + "sourceRoot": "apps/angular/60-async-redirect/src", |
| 7 | + "tags": [], |
| 8 | + "targets": { |
| 9 | + "build": { |
| 10 | + "executor": "@angular/build:application", |
| 11 | + "outputs": ["{options.outputPath}"], |
| 12 | + "options": { |
| 13 | + "outputPath": "dist/apps/angular/60-async-redirect", |
| 14 | + "browser": "apps/angular/60-async-redirect/src/main.ts", |
| 15 | + "polyfills": ["zone.js"], |
| 16 | + "tsConfig": "apps/angular/60-async-redirect/tsconfig.app.json", |
| 17 | + "inlineStyleLanguage": "scss", |
| 18 | + "assets": [ |
| 19 | + { |
| 20 | + "glob": "**/*", |
| 21 | + "input": "apps/angular/60-async-redirect/public" |
| 22 | + } |
| 23 | + ], |
| 24 | + "styles": ["apps/angular/60-async-redirect/src/styles.scss"] |
| 25 | + }, |
| 26 | + "configurations": { |
| 27 | + "production": { |
| 28 | + "budgets": [ |
| 29 | + { |
| 30 | + "type": "initial", |
| 31 | + "maximumWarning": "500kb", |
| 32 | + "maximumError": "1mb" |
| 33 | + }, |
| 34 | + { |
| 35 | + "type": "anyComponentStyle", |
| 36 | + "maximumWarning": "4kb", |
| 37 | + "maximumError": "8kb" |
| 38 | + } |
| 39 | + ], |
| 40 | + "outputHashing": "all" |
| 41 | + }, |
| 42 | + "development": { |
| 43 | + "optimization": false, |
| 44 | + "extractLicenses": false, |
| 45 | + "sourceMap": true |
| 46 | + } |
| 47 | + }, |
| 48 | + "defaultConfiguration": "production" |
| 49 | + }, |
| 50 | + "serve": { |
| 51 | + "continuous": true, |
| 52 | + "executor": "@angular/build:dev-server", |
| 53 | + "configurations": { |
| 54 | + "production": { |
| 55 | + "buildTarget": "angular-async-redirect:build:production" |
| 56 | + }, |
| 57 | + "development": { |
| 58 | + "buildTarget": "angular-async-redirect:build:development" |
| 59 | + } |
| 60 | + }, |
| 61 | + "defaultConfiguration": "development" |
| 62 | + }, |
| 63 | + "extract-i18n": { |
| 64 | + "executor": "@angular/build:extract-i18n", |
| 65 | + "options": { |
| 66 | + "buildTarget": "angular-async-redirect:build" |
| 67 | + } |
| 68 | + }, |
| 69 | + "lint": { |
| 70 | + "executor": "@nx/eslint:lint" |
| 71 | + }, |
| 72 | + "serve-static": { |
| 73 | + "continuous": true, |
| 74 | + "executor": "@nx/web:file-server", |
| 75 | + "options": { |
| 76 | + "buildTarget": "angular-async-redirect:build", |
| 77 | + "staticFilePath": "dist/apps/angular/60-async-redirect/browser", |
| 78 | + "spa": true |
| 79 | + } |
| 80 | + } |
| 81 | + } |
| 82 | +} |
0 commit comments