-
Notifications
You must be signed in to change notification settings - Fork 139
Description
Before filing this issue, please ensure you're using the latest CLI by running swa --version and comparing to the latest version on npm.
Yes, I am.
Are you accessing the CLI from the default port :4280 ?
- No, I am using a different port number (
--port) and accessing the CLI from that port - Yes, I am accessing the CLI from port
:4280
Make sure you are accessing the URL printed in the console when running
swa start!
ℹ️ NOTE: Make sure to enable debug logs when running any swa commands using --verbose=silly
Describe the bug
My staticwebapp.config.json is too large but the warning is WARNING: staticwebapp.config.json is 22 bytes. The maximum size is 20 bytes..
It should be kilobytes, not bytes. https://learn.microsoft.com/en-us/azure/static-web-apps/configuration#restrictions states 20 kb too.
To Reproduce
- Make
staticwebapp.config.jsonlarge 22kb. - Type in command 'swa deploy --env productio'
- See very confusing warning
Expected behavior
Expect kilobytes in the warning.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: windows
- Version 11
Additional context
Add any other context about the problem here.