|
22 | 22 | "main": "src/main.ts", |
23 | 23 | "polyfills": "src/polyfills.ts", |
24 | 24 | "tsConfig": "tsconfig.app.json", |
25 | | - "aot": true, |
26 | | - "assets": ["src/favicon.ico", "src/assets"], |
| 25 | + "assets": [ |
| 26 | + "src/favicon.ico", |
| 27 | + "src/assets", |
| 28 | + "src/manifest.webmanifest" |
| 29 | + ], |
27 | 30 | "styles": [ |
28 | | - "./node_modules/chart.js/dist/Chart.min.css", |
| 31 | + "./node_modules/primeicons/primeicons.css", |
| 32 | + "./node_modules/primeng/resources/primeng.min.css", |
29 | 33 | "./node_modules/bs-stepper/dist/css/bs-stepper.min.css", |
30 | 34 | "./node_modules/bootstrap-select/dist/css/bootstrap-select.min.css", |
31 | 35 | "./node_modules/datatables.net-bs4/css/dataTables.bootstrap4.min.css", |
32 | 36 | "./node_modules/datatables.net-buttons-bs4/css/buttons.bootstrap4.min.css", |
| 37 | + "src/ngstyles.css", |
33 | 38 | "src/styles.scss" |
34 | 39 | ], |
35 | 40 | "scripts": [ |
|
44 | 49 | "./node_modules/datatables.net-buttons/js/buttons.html5.min.js", |
45 | 50 | "./node_modules/datatables.net-buttons/js/buttons.print.min.js", |
46 | 51 | "./node_modules/datatables.net-buttons/js/buttons.colVis.min.js", |
47 | | - "./node_modules/datatables.net-buttons-bs4/js/buttons.bootstrap4.min.js" |
| 52 | + "./node_modules/datatables.net-buttons-bs4/js/buttons.bootstrap4.min.js", |
| 53 | + "./node_modules/chart.js/dist/Chart.js", |
| 54 | + "./node_modules/swiped-events/dist/swiped-events.min.js" |
| 55 | + ], |
| 56 | + "vendorChunk": true, |
| 57 | + "extractLicenses": false, |
| 58 | + "buildOptimizer": false, |
| 59 | + "sourceMap": true, |
| 60 | + "optimization": false, |
| 61 | + "namedChunks": true, |
| 62 | + "webWorkerTsConfig": "tsconfig.worker.json", |
| 63 | + "serviceWorker": true, |
| 64 | + "ngswConfigPath": "ngsw-config.json", |
| 65 | + "allowedCommonJsDependencies": [ |
| 66 | + "deep-equal", |
| 67 | + "crypto-js", |
| 68 | + "chart.js" |
48 | 69 | ] |
49 | 70 | }, |
50 | 71 | "configurations": { |
|
74 | 95 | "maximumError": "10kb" |
75 | 96 | } |
76 | 97 | ] |
| 98 | + }, |
| 99 | + "development": { |
| 100 | + "buildOptimizer": false, |
| 101 | + "optimization": false, |
| 102 | + "vendorChunk": true, |
| 103 | + "extractLicenses": false, |
| 104 | + "sourceMap": true, |
| 105 | + "namedChunks": true |
77 | 106 | } |
78 | | - } |
| 107 | + }, |
| 108 | + "defaultConfiguration": "development" |
79 | 109 | }, |
80 | 110 | "serve": { |
81 | 111 | "builder": "@angular-devkit/build-angular:dev-server", |
|
85 | 115 | "configurations": { |
86 | 116 | "production": { |
87 | 117 | "browserTarget": "lifemonitor:build:production" |
| 118 | + }, |
| 119 | + "development": { |
| 120 | + "browserTarget": "lifemonitor:build:development" |
88 | 121 | } |
89 | | - } |
| 122 | + }, |
| 123 | + "defaultConfiguration": "development" |
90 | 124 | }, |
91 | 125 | "extract-i18n": { |
92 | 126 | "builder": "@angular-devkit/build-angular:extract-i18n", |
|
101 | 135 | "polyfills": "src/polyfills.ts", |
102 | 136 | "tsConfig": "tsconfig.spec.json", |
103 | 137 | "karmaConfig": "karma.conf.js", |
104 | | - "assets": ["src/favicon.ico", "src/assets"], |
| 138 | + "assets": [ |
| 139 | + "src/favicon.ico", |
| 140 | + "src/assets", |
| 141 | + "src/manifest.webmanifest" |
| 142 | + ], |
105 | 143 | "styles": ["src/styles.scss"], |
106 | | - "scripts": [] |
| 144 | + "scripts": [], |
| 145 | + "webWorkerTsConfig": "tsconfig.worker.json" |
107 | 146 | } |
108 | 147 | }, |
109 | 148 | "lint": { |
|
0 commit comments