The following examples contain code snippets that either fail or pass this check.
In the following example,
assets/chat-widget.js is greater than 10 KB gzipped:
The following example contains the default configuration for this check:
For theme app extensions:
|enabled||Whether this check is enabled.|
|severity||The severity of the check.|
Disabling this checkAnchor link to section titled "Disabling this check"
This check is enabled by default when you run the Shopify CLI 3.x
build command on an app that contains a theme app extension. This limit is not yet enforced, but disabling this check isn't recommended for theme app extensions.
If you can't avoid violating the rule, then you should disable the check using the comment syntax. This ensures that you intentionally disable the check for each instance.