FEATURE: allow themes to upload js files as assets
This helps unlock the ability for themes to defer load larger js payloads.
The change is safe as themes are allowed to include inline js anyway.
diff --git a/config/site_settings.yml b/config/site_settings.yml index 2ca7803..e4aca2b 100644 --- a/config/site_settings.yml +++ b/config/site_settings.yml @@ -1061,7 +1061,7 @@ files: default: 50000 max: 1024000 theme_authorized_extensions: - default: "jpg|jpeg|png|woff|woff2|svg|eot|ttf|otf|gif" + default: "jpg|jpeg|png|woff|woff2|svg|eot|ttf|otf|gif|js" type: list list_type: compact authorized_extensions:
GitHub sha: 5aa9a567