Azure / Azure/static-web-apps

staticwebapp.config.json: 20KB limit during build & deploy vs 100KB documentation

Open
#661 13 comments 1 reaction 0 assignees View on GitHub
config
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Based on https://github.com/login?return_to=/staticwebdev/vanilla-basic/generate, I encounter the following issue during the Build and Deploy step of the GitHub Action, once I have added all my required config to staticwebapp.config.json:

```
Using 'staticwebapp.config.json' file for configuration information, 'routes.json' will be ignored.
Encountered an issue while validating staticwebapp.config.json: The file size exceeds the limit of 20 KB.
```

My file is 33KB, or 25KB when minified, but the documentation states that the max file size is 100KB: https://docs.microsoft.com/en-us/azure/static-web-apps/configuration#restrictions

Perhaps Azure/static-web-apps-deploy@v1 needs updating to up the limit to 100KB as per the documentation?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.