diff --git a/client/wfprev-war/src/main/angular/angular.json b/client/wfprev-war/src/main/angular/angular.json index aca47c40f..525a38293 100644 --- a/client/wfprev-war/src/main/angular/angular.json +++ b/client/wfprev-war/src/main/angular/angular.json @@ -20,9 +20,7 @@ "build": { "builder": "@angular-devkit/build-angular:application", "options": { - "outputPath": { - "base": "dist/wfprev" - }, + "outputPath": "dist/wfprev", "index": "src/index.html", "polyfills": [ "src/polyfills.ts" diff --git a/client/wfprev-war/src/main/angular/package.json b/client/wfprev-war/src/main/angular/package.json index d560a8d4a..43e5c882f 100644 --- a/client/wfprev-war/src/main/angular/package.json +++ b/client/wfprev-war/src/main/angular/package.json @@ -9,7 +9,7 @@ "test": "ng test", "storybook": "ng run wfprev:storybook", "build-storybook": "ng run wfprev:build-storybook", - "mavenbuild": "node --max_old_space_size=4096" + "mavenbuild": "node --max_old_space_size=4096 node_modules/@angular/cli/bin/ng build --configuration production --output-path ../../../target/angular --base-href / && replace-in-file /ngsw:/g ngsw:wfprevi: dist/ngsw-worker.js --verbose --isRegex", }, "private": true, "dependencies": {