I have searched all offical documentation, I could not find the anything about how could I host the Blazor Webassembly in S3/CDN with environment specific value.
You can imagine that the app would have 3 different environments Development, Test, Production. Each environment would have their own environment specific value. e.g. api url, client id, api key.
If I host the Blazor Webassembly app in IIS, I could put the environment specific value in appSetting.{environment}.json, and then I could set up the value of "ASPNETCORE_ENVIRONMENT" in web.config to specify the app's environment.
But How can we do it in S3 and CDN?