I am working on a Angular 14 application. This application is localized @angular/localize. When I run the npm build, I added --localize. The folder structure created by the build is: dist -> app-name -> local (fr, en, de..) I push the dist folder in a very simple Nodejs. It is working like a charm. Now I want to deploy the application on Azure Static web app. I go to the portal, and I create the application. And now the build failed: Failed to find a default file in the app artifacts folder (dist/app_name). Valid default files: index.html,Index.html I undedstand the reason. If I push a non i18n application, the deployment is Ok, as the build create only one index.html in dist/app_name. I tried: to use assets in the in angular.json to copy an index.html directly under /dist/app_name. But angular copy always in the local directory. I run a post build event: ng build --configuration production --localize && cp /postbuild/index.html dist. This command works perfectly on my local env. However, on azure the error comes directly after the ng build, meaning before the cp command. I deployed an staticwebapp.config.json. But the redirect is when the application is deployed, not during compilation time. When I use the command: ng build --configuration production --localize=en , angular deploy only the en localization. Therefore everything runs. So my question is: is it possible to run an i18n angular on azure static web app without creating one static webapp for each locale? Many thanks Continue reading...