From 012a527abd87c7384051fb62204a18368b293eb9 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 5 Nov 2020 15:18:47 -0500 Subject: add our response to Copperhead's baseless lawsuit --- process_static | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'process_static') diff --git a/process_static b/process_static index 923c234e..ed2a3384 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\|json\|txt\|webmanifest\|xml\)\)' \ +find static_tmp -regex '\(.+/LICENSE\|.+\.\(css\|html\|ico\|js\|svg\|json\|pdf\|txt\|webmanifest\|xml\)\)' \ -exec zopfli {} \; -exec touch -r {} {}.gz \; \ -exec brotli -k {} \; -- cgit v1.3.1