diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2020-11-02 13:01:44 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2020-11-02 13:37:04 -0500 |
| commit | edf73acc0867cfc2b3367fe388ef734aef0555f5 (patch) | |
| tree | 21349268541805dd80d100a0a76540808d3ce5a9 /process_static | |
| parent | 2ab62e9f78ecc52b68facdf877497599aa9538dc (diff) | |
add Global Privacy Control metadata
Diffstat (limited to 'process_static')
| -rwxr-xr-x | process_static | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/process_static b/process_static index 2d6a6826..923c234e 100755 --- a/process_static +++ b/process_static @@ -10,6 +10,6 @@ json_reformat -m < static_tmp/manifest.webmanifest | sponge static_tmp/manifest. find static_tmp -name '*.css' -exec csso {} -o {} \; find static_tmp -name '*.html' -exec html-minifier --collapse-whitespace --process-scripts "application/ld+json" --collapse-boolean-attributes --remove-attribute-quotes --remove-comments --remove-empty-attributes --remove-redundant-attributes --remove-script-type-attributes --remove-style-link-type-attributes --sort-attributes --sort-class-name {} -o {} \; find static_tmp -name '*.js' -exec terser --module -cmo {} {} \; -find static_tmp -regex '\(.+/LICENSE\|.+\.\(css\|html\|ico\|js\|svg\|txt\|webmanifest\|xml\)\)' \ +find static_tmp -regex '\(.+/LICENSE\|.+\.\(css\|html\|ico\|js\|svg\|json\|txt\|webmanifest\|xml\)\)' \ -exec zopfli {} \; -exec touch -r {} {}.gz \; \ -exec brotli -k {} \; |
