Pārlūkot izejas kodu

update build script

tigger 1 gadu atpakaļ
vecāks
revīzija
2fc4c232ef
2 mainītis faili ar 7 papildinājumiem un 3 dzēšanām
  1. 6 3
      angular.json
  2. 1 0
      build/build-all.cmd

+ 6 - 3
angular.json

@@ -90,7 +90,8 @@
                   "replace": "src/app/menu/menu.ts",
                   "with":"src/app/menu/menu.leave.ts"
                 }
-              ]
+              ],
+              "serviceWorker": "ngsw-config.json"
             },
             "quotation-prod": {
               "budgets": [
@@ -127,7 +128,8 @@
                   "replace": "src/app/menu/menu.ts",
                   "with":"src/app/menu/menu.quotation.ts"
                 }
-              ]
+              ],
+              "serviceWorker": "ngsw-config.json"
             },
             "maf-quot-prod": {
               "budgets": [
@@ -164,7 +166,8 @@
                   "replace": "src/app/menu/menu.ts",
                   "with":"src/app/menu/menu.quotation.ts"
                 }
-              ]
+              ],
+              "serviceWorker": "ngsw-config.json"
             },
             "development": {
               "optimization": false,

+ 1 - 0
build/build-all.cmd

@@ -0,0 +1 @@
+npm run build && "./build/build-leave-prod" && "./build/build-quot-prod" && "./build/maf-quot-prod"