Add swa.json config file
See original GitHub issueDescribe the solution you’d like
As a user, I’d like to be able to start swa
using a config file. All the CLI flags should be supported.
{
"options": {
// CLI flags
}
}
File name options:
swa.json
swa.config.json
.swarc
swa
property inpackage.json
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:6 (5 by maintainers)
Top Results From Across the Web
6. Use Runtime Config File | Static Web Apps CLI
6.2 Specify File Location. To control where the CLI searches for staticwebapp.config.json , use --swa-config-location .
Read more >#04: Configuring SWA | Azure Static Web Apps
Application: Use the staticwebapp.config.json file (located in the folder specified for app_location ) to define rules and properties that ...
Read more >Configure Azure Static Web Apps - Microsoft Learn
Configuration for Azure Static Web Apps is defined in the staticwebapp.config.json file, which controls the following settings:.
Read more >Static Web App CLI | SpringerLink
We've used the Azure Static Web App CLI (SWA CLI) in an earlier chapter to get started ... property of the “staticwebapp.config.json” file....
Read more >Getting Started with Azure Static Web Apps (SWA) - Jade Global
All authentication providers are enabled by default. We can add rules to the routing configuration file to restrict an authentication provider.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I really like this feature. I’m exploring adding local debugging for SWAs into the VS Code extension and this would make the configuration much easier on users.
I think users would be much more comfortable editing a
swa-cli.config.json
versus launch/tasks.json files.I would prefer
.swarc
, as I think the most important thing about the naming would be to avoid confusion with thestaticwebapp.config.json
file for the user.