|
119 | 119 | "outputHashing": "all",
|
120 | 120 | "sourceMap": true,
|
121 | 121 | "namedChunks": false,
|
122 |
| - "aot": true, |
| 122 | + "aot": false, |
123 | 123 | "extractLicenses": true,
|
124 | 124 | "vendorChunk": false,
|
125 | 125 | "buildOptimizer": false,
|
126 | 126 | "fileReplacements": [
|
127 | 127 | {
|
128 |
| - "replace": "src/environments/environment.ts", |
| 128 | + "replace": "src/environments/_environment.ts", |
129 | 129 | "with": "src/environments/environment.dev.ts"
|
130 | 130 | }
|
131 | 131 | ],
|
|
157 | 157 | "buildOptimizer": false,
|
158 | 158 | "fileReplacements": [
|
159 | 159 | {
|
160 |
| - "replace": "src/environments/environment.ts", |
| 160 | + "replace": "src/environments/_environment.ts", |
161 | 161 | "with": "src/environments/environment.web.ts"
|
162 | 162 | }
|
163 | 163 | ],
|
|
189 | 189 | "buildOptimizer": false,
|
190 | 190 | "fileReplacements": [
|
191 | 191 | {
|
192 |
| - "replace": "src/environments/environment.ts", |
193 |
| - "with": "src/environments/environment.prod.ts" |
| 192 | + "replace": "src/environments/_environment.ts", |
| 193 | + "with": "src/environments/environment.production.ts" |
| 194 | + } |
| 195 | + ], |
| 196 | + "budgets": [ |
| 197 | + { |
| 198 | + "type": "initial", |
| 199 | + "maximumWarning": "80mb", |
| 200 | + "maximumError": "100mb" |
| 201 | + } |
| 202 | + ] |
| 203 | + } |
| 204 | + } |
| 205 | + }, |
| 206 | + "build-angular": { |
| 207 | + "builder": "@angular-devkit/build-angular:browser", |
| 208 | + "options": { |
| 209 | + "outputPath": "dist-angular", |
| 210 | + "index": "src/index.html", |
| 211 | + "main": "src/main.ts", |
| 212 | + "tsConfig": "src/tsconfig.app.json", |
| 213 | + "polyfills": "src/polyfills.ts", |
| 214 | + "allowedCommonJsDependencies": [ |
| 215 | + "admin-lte/plugins/chart.js/Chart.js", |
| 216 | + "chart.js", |
| 217 | + "pixi.js-keyboard", |
| 218 | + "pixi.js-mouse", |
| 219 | + "mini-signals", |
| 220 | + "@firebase/app-check", |
| 221 | + "socket.io-client", |
| 222 | + "datastructures-js", |
| 223 | + "thumder-ontology", |
| 224 | + "debug" |
| 225 | + ], |
| 226 | + "assets": [ |
| 227 | + "src/assets", |
| 228 | + { |
| 229 | + "glob": "LICENSE.md", |
| 230 | + "input": "./", |
| 231 | + "output": "./assets/md/" |
| 232 | + }, |
| 233 | + { |
| 234 | + "glob": "COOKIES.md", |
| 235 | + "input": "./", |
| 236 | + "output": "./assets/md/" |
| 237 | + }, |
| 238 | + { |
| 239 | + "glob": "CHANGELOG.md", |
| 240 | + "input": "./", |
| 241 | + "output": "./assets/md/" |
| 242 | + }, |
| 243 | + { |
| 244 | + "glob": "README.md", |
| 245 | + "input": "./", |
| 246 | + "output": "./assets/md/" |
| 247 | + }, |
| 248 | + { |
| 249 | + "glob": "ABOUT.md", |
| 250 | + "input": "./", |
| 251 | + "output": "./assets/md/" |
| 252 | + }, |
| 253 | + { |
| 254 | + "glob": "Datapath_Schematic.svg", |
| 255 | + "input": "./assets", |
| 256 | + "output": "./assets/" |
| 257 | + }, |
| 258 | + { |
| 259 | + "glob": "DLX-TABLE-Instructions.md", |
| 260 | + "input": "./", |
| 261 | + "output": "./assets/md/" |
| 262 | + } |
| 263 | + ], |
| 264 | + "styles": [ |
| 265 | + "src/styles.scss", |
| 266 | + "src/monaco-editor.scss", |
| 267 | + "src/assets/flag-icons-master/css/flag-icon.css", |
| 268 | + "src/assets/styles/dx.generic.custom-scheme-thumder.css", |
| 269 | + "node_modules/xterm/css/xterm.css", |
| 270 | + "node_modules/devextreme/dist/css/dx.light.css", |
| 271 | + "node_modules/admin-lte/plugins/fontawesome-free/css/all.css", |
| 272 | + "node_modules/admin-lte/plugins/overlayScrollbars/css/OverlayScrollbars.css", |
| 273 | + "node_modules/admin-lte/dist/css/adminlte.css", |
| 274 | + "node_modules/ngx-toastr/toastr.css", |
| 275 | + "node_modules/prismjs/themes/prism-okaidia.css", |
| 276 | + "node_modules/prismjs/plugins/line-highlight/prism-line-highlight.css", |
| 277 | + "node_modules/cookieconsent/build/cookieconsent.min.css" |
| 278 | + ], |
| 279 | + "scripts": [ |
| 280 | + "node_modules/admin-lte/plugins/jquery/jquery.min.js", |
| 281 | + "node_modules/admin-lte/plugins/bootstrap/js/bootstrap.bundle.js", |
| 282 | + "node_modules/admin-lte/plugins/overlayScrollbars/js/jquery.overlayScrollbars.js", |
| 283 | + "node_modules/admin-lte/dist/js/adminlte.js", |
| 284 | + "node_modules/admin-lte/plugins/jquery-mousewheel/jquery.mousewheel.js", |
| 285 | + "node_modules/admin-lte/plugins/raphael/raphael.js", |
| 286 | + "node_modules/admin-lte/plugins/chart.js/Chart.js", |
| 287 | + "node_modules/prismjs/prism.js", |
| 288 | + "node_modules/prismjs/components/prism-typescript.min.js", |
| 289 | + "node_modules/prismjs/components/prism-javascript.min.js", |
| 290 | + "node_modules/prismjs/components/prism-css.min.js", |
| 291 | + "node_modules/prismjs/plugins/line-numbers/prism-line-numbers.js", |
| 292 | + "node_modules/emoji-toolkit/lib/js/joypixels.min.js", |
| 293 | + "node_modules/cookieconsent/build/cookieconsent.min.js" |
| 294 | + ] |
| 295 | + }, |
| 296 | + "configurations": { |
| 297 | + "dev": { |
| 298 | + "optimization": { |
| 299 | + "scripts": false, |
| 300 | + "styles": { |
| 301 | + "minify": false, |
| 302 | + "inlineCritical": false |
| 303 | + }, |
| 304 | + "fonts": { |
| 305 | + "inline": false |
| 306 | + } |
| 307 | + }, |
| 308 | + "outputHashing": "all", |
| 309 | + "sourceMap": true, |
| 310 | + "namedChunks": false, |
| 311 | + "aot": true, |
| 312 | + "extractLicenses": true, |
| 313 | + "vendorChunk": false, |
| 314 | + "buildOptimizer": false, |
| 315 | + "fileReplacements": [ |
| 316 | + { |
| 317 | + "replace": "src/environments/_environment.ts", |
| 318 | + "with": "src/environments/environment.dev.ts" |
| 319 | + } |
| 320 | + ], |
| 321 | + "budgets": [ |
| 322 | + { |
| 323 | + "type": "initial", |
| 324 | + "maximumWarning": "80mb", |
| 325 | + "maximumError": "100mb" |
| 326 | + } |
| 327 | + ] |
| 328 | + }, |
| 329 | + "web": { |
| 330 | + "optimization": { |
| 331 | + "scripts": false, |
| 332 | + "styles": { |
| 333 | + "minify": false, |
| 334 | + "inlineCritical": false |
| 335 | + }, |
| 336 | + "fonts": { |
| 337 | + "inline": false |
| 338 | + } |
| 339 | + }, |
| 340 | + "outputHashing": "all", |
| 341 | + "sourceMap": true, |
| 342 | + "namedChunks": false, |
| 343 | + "aot": false, |
| 344 | + "extractLicenses": true, |
| 345 | + "vendorChunk": false, |
| 346 | + "buildOptimizer": false, |
| 347 | + "fileReplacements": [ |
| 348 | + { |
| 349 | + "replace": "src/environments/_environment.ts", |
| 350 | + "with": "src/environments/environment.web.ts" |
| 351 | + } |
| 352 | + ], |
| 353 | + "budgets": [ |
| 354 | + { |
| 355 | + "type": "initial", |
| 356 | + "maximumWarning": "80mb", |
| 357 | + "maximumError": "100mb" |
| 358 | + } |
| 359 | + ] |
| 360 | + }, |
| 361 | + "production": { |
| 362 | + "optimization": { |
| 363 | + "scripts": true, |
| 364 | + "styles": { |
| 365 | + "minify": false, |
| 366 | + "inlineCritical": false |
| 367 | + }, |
| 368 | + "fonts": { |
| 369 | + "inline": true |
| 370 | + } |
| 371 | + }, |
| 372 | + "outputHashing": "all", |
| 373 | + "sourceMap": false, |
| 374 | + "namedChunks": false, |
| 375 | + "aot": true, |
| 376 | + "extractLicenses": true, |
| 377 | + "vendorChunk": false, |
| 378 | + "buildOptimizer": false, |
| 379 | + "fileReplacements": [ |
| 380 | + { |
| 381 | + "replace": "src/environments/_environment.ts", |
| 382 | + "with": "src/environments/environment.production.ts" |
194 | 383 | }
|
195 | 384 | ],
|
196 | 385 | "budgets": [
|
|
220 | 409 | }
|
221 | 410 | }
|
222 | 411 | },
|
| 412 | + "serve-angular": { |
| 413 | + "builder": "@angular-devkit/build-angular:dev-server", |
| 414 | + "options": { |
| 415 | + "browserTarget": "thumder-angular-electron:build-angular" |
| 416 | + }, |
| 417 | + "configurations": { |
| 418 | + "dev": { |
| 419 | + "browserTarget": "thumder-angular-electron:build-angular:dev" |
| 420 | + }, |
| 421 | + "web": { |
| 422 | + "browserTarget": "thumder-angular-electron:build-angular:web" |
| 423 | + }, |
| 424 | + "production": { |
| 425 | + "browserTarget": "thumder-angular-electron:build-angular:production" |
| 426 | + } |
| 427 | + } |
| 428 | + }, |
223 | 429 | "extract-i18n": {
|
224 | 430 | "builder": "@angular-devkit/build-angular:extract-i18n",
|
225 | 431 | "options": {
|
|
0 commit comments