From 9c2e039bf8045de149d4ece3aebe84abb609e55c Mon Sep 17 00:00:00 2001 From: Marcel Peterkau Date: Mon, 25 Dec 2023 02:04:31 +0100 Subject: [PATCH] fixed css minifying --- Software/prepare_littlefs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Software/prepare_littlefs.py b/Software/prepare_littlefs.py index 44c9a3f..7e5e716 100644 --- a/Software/prepare_littlefs.py +++ b/Software/prepare_littlefs.py @@ -24,7 +24,7 @@ def minify_js(input_path, output_path): subprocess.run([terser_path, input_path, '-o', output_path, '-c', '-m']) def minify_css(input_path, output_path): - subprocess.run([cssnano_path, input_path, output_path]) + subprocess.run([cssnano_path, '--no-discardUnused', input_path, output_path]) def process_file(src_path, dest_path): _, file_extension = os.path.splitext(src_path)