Project

General

Profile

« Previous | Next » 

Revision 61149

[Monitor Dashboard | Angular 11]: Update to angular 11 add configurations and scripts for all environments

View differences:

angular.json
54 54
              "src/assets/common-assets/common/uikit.min.js",
55 55
              "src/assets/common-assets/common/uikit-icons.min.js",
56 56
              "node_modules/jquery/dist/jquery.js"
57
            ],
58
            "es5BrowserSupport": true
57
            ]
59 58
          },
60 59
          "configurations": {
60
            "development": {
61
              "optimization": true,
62
              "outputHashing": "all",
63
              "sourceMap": false,
64
              "namedChunks": false,
65
              "aot": true,
66
              "extractLicenses": true,
67
              "vendorChunk": false,
68
              "buildOptimizer": true,
69
              "budgets": [
70
                {
71
                  "type": "initial",
72
                  "maximumWarning": "2mb",
73
                  "maximumError": "5mb"
74
                },
75
                {
76
                  "type": "anyComponentStyle",
77
                  "maximumWarning": "6kb"
78
                }
79
              ]
80
            },
81
            "beta": {
82
              "fileReplacements": [
83
                {
84
                  "replace": "src/environments/environment.ts",
85
                  "with": "src/environments/environment.beta.ts"
86
                }
87
              ],
88
              "optimization": true,
89
              "outputHashing": "all",
90
              "sourceMap": false,
91
              "namedChunks": false,
92
              "aot": true,
93
              "extractLicenses": true,
94
              "vendorChunk": false,
95
              "buildOptimizer": true,
96
              "budgets": [
97
                {
98
                  "type": "initial",
99
                  "maximumWarning": "2mb",
100
                  "maximumError": "5mb"
101
                },
102
                {
103
                  "type": "anyComponentStyle",
104
                  "maximumWarning": "6kb"
105
                }
106
              ]
107
            },
61 108
            "production": {
109
              "assets": [
110
                "src/assets",
111
                {
112
                  "input": "src/prod/",
113
                  "output": "/",
114
                  "glob": "*.txt"
115
                }
116
              ],
117
              "index": {
118
                "input": "src/prod/index.html",
119
                "output": "index.html"
120
              },
62 121
              "fileReplacements": [
63 122
                {
64 123
                  "replace": "src/environments/environment.ts",
......
68 127
              "optimization": true,
69 128
              "outputHashing": "all",
70 129
              "sourceMap": false,
71
              "extractCss": true,
72 130
              "namedChunks": false,
73 131
              "aot": true,
74 132
              "extractLicenses": true,
......
142 200
            "tsConfig": "src/tsconfig.server.json"
143 201
          },
144 202
          "configurations": {
203
            "development": {
204
              "outputHashing": "media",
205
              "sourceMap": false,
206
              "optimization": true
207
            },
208
            "beta": {
209
              "outputHashing": "media",
210
              "fileReplacements": [
211
                {
212
                  "replace": "src/environments/environment.ts",
213
                  "with": "src/environments/environment.beta.ts"
214
                }
215
              ],
216
              "sourceMap": false,
217
              "optimization": true
218
            },
145 219
            "production": {
146 220
              "outputHashing": "media",
147 221
              "fileReplacements": [

Also available in: Unified diff