Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: correct dist path for dev builds on otter webapps (#2018)
## Proposed change Before we were not even updating the development one because `workspaceProject.architect.build.configurations.options` does not exist. It should have been `workspaceProject.architect.build.configurations.development` instead. I propose we override the main `outputPath` and not just for production. before ```json "architect": { "build": { "builder": "@angular-devkit/build-angular:application", "options": { "outputPath": "dist/webapp", }, "configurations": { "production": { .... "outputPath": "apps/webapp/dist" }, "development": { ... } }, "defaultConfiguration": "production" }, ``` after ```json "architect": { "build": { "builder": "@angular-devkit/build-angular:application", "options": { "outputPath": "apps/webapp/dist", }, "configurations": { "production": { .... }, "development": { ... } }, "defaultConfiguration": "production" }, ```
- Loading branch information