angular.json raw

   1  {
   2    "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
   3    "version": 1,
   4    "newProjectRoot": "projects",
   5    "cli": { "analytics": false },
   6    "projects": {
   7      "firefox": {
   8        "projectType": "application",
   9        "root": "",
  10        "sourceRoot": "src",
  11        "prefix": "app",
  12        "architect": {
  13          "build": {
  14            "builder": "@angular-builders/custom-webpack:browser",
  15            "options": {
  16              "customWebpackConfig": {
  17                "path": "custom-webpack.config.ts"
  18              },
  19              "outputPath": "dist/firefox",
  20              "index": "src/index.html",
  21              "main": "src/main.ts",
  22              "polyfills": ["zone.js"],
  23              "tsConfig": "tsconfig.app.json",
  24              "inlineStyleLanguage": "scss",
  25              "assets": [
  26                {
  27                  "glob": "**/*",
  28                  "input": "public"
  29                }
  30              ],
  31              "styles": ["src/styles.scss"],
  32              "scripts": ["node_modules/bootstrap/dist/js/bootstrap.bundle.js"]
  33            },
  34            "configurations": {
  35              "production": {
  36                "budgets": [
  37                  { "type": "initial", "maximumWarning": "5MB", "maximumError": "10MB" },
  38                  { "type": "anyComponentStyle", "maximumWarning": "20kB", "maximumError": "25kB" }
  39                ],
  40                "optimization": { "scripts": true, "styles": false, "fonts": true }
  41              },
  42              "development": {
  43                "optimization": false,
  44                "extractLicenses": false,
  45                "sourceMap": true
  46              }
  47            },
  48            "defaultConfiguration": "production"
  49          }
  50        }
  51      }
  52    }
  53  }
  54