The project should be built for WAC when --env=wac is used with build.ps1. But it doesn't work. I don't see any code in the build process that handles --env=wac. After inspecting the code, I renamed the following files
environment.ts is from environment.wac.prod.ts
app.addon.ts is from app.addon.wac.ts. The original file is saved app.addon.site.ts
app-routing.module.ts is from app-routing.module.wac.ts. The original file is saved as app-routing.module.site.ts
bootstrap.ts is from bootstrap.wac.ts. The original file is saved as bootstrap.site.ts.
In the future, if we want the project to work as standalone web application, we need to fix the build process to copy the files according to the --env switch
The project should be built for WAC when --env=wac is used with build.ps1. But it doesn't work. I don't see any code in the build process that handles --env=wac. After inspecting the code, I renamed the following files environment.ts is from environment.wac.prod.ts app.addon.ts is from app.addon.wac.ts. The original file is saved app.addon.site.ts app-routing.module.ts is from app-routing.module.wac.ts. The original file is saved as app-routing.module.site.ts bootstrap.ts is from bootstrap.wac.ts. The original file is saved as bootstrap.site.ts.
In the future, if we want the project to work as standalone web application, we need to fix the build process to copy the files according to the --env switch