Advertisement
Guest User

Untitled

a guest
Apr 8th, 2020
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.   "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3.   "version": 1,
  4.   "newProjectRoot": "projects",
  5.   "projects": {
  6.     "whatever": {
  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/whatever",
  21.             "index": "src/index.html",
  22.             "main": "src/main.ts",
  23.             "polyfills": "src/polyfills.ts",
  24.             "tsConfig": "tsconfig.app.json",
  25.             "aot": false,
  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.               "fileReplacements": [
  38.                 {
  39.                   "replace": "src/environments/environment.ts",
  40.                   "with": "src/environments/environment.prod.ts"
  41.                 }
  42.               ],
  43.               "optimization": true,
  44.               "outputHashing": "all",
  45.               "sourceMap": false,
  46.               "extractCss": true,
  47.               "namedChunks": false,
  48.               "aot": true,
  49.               "extractLicenses": true,
  50.               "vendorChunk": false,
  51.               "buildOptimizer": true,
  52.               "budgets": [
  53.                 {
  54.                   "type": "initial",
  55.                   "maximumWarning": "2mb",
  56.                   "maximumError": "5mb"
  57.                 },
  58.                 {
  59.                   "type": "anyComponentStyle",
  60.                   "maximumWarning": "6kb",
  61.                   "maximumError": "10kb"
  62.                 }
  63.               ]
  64.             }
  65.           }
  66.         },
  67.         "serve": {
  68.           "builder": "@angular-devkit/build-angular:dev-server",
  69.           "options": {
  70.             "browserTarget": "whatever:build"
  71.           },
  72.           "configurations": {
  73.             "production": {
  74.               "browserTarget": "whatever:build:production"
  75.             }
  76.           }
  77.         }
  78.       }
  79.     }},
  80.   "defaultProject": "whatever"
  81. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement