1
0
mirror of https://github.com/s00500/ESPUI.git synced 2025-11-27 23:03:16 +00:00

Fix classes for mobile

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
This commit is contained in:
2025-11-24 12:21:31 +01:00
parent 4e32746159
commit 2a6fa24892
17 changed files with 473 additions and 430 deletions

View File

@@ -1,7 +1,13 @@
#!/usr/bin/env python3
from jsmin import jsmin as jsminify
from htmlmin import minify as htmlminify
try:
from htmlmin import minify as htmlminify
except ImportError:
# Fallback to minify_html for Python 3.13+ compatibility
import minify_html
def htmlminify(html):
return minify_html.minify(html, minify_js=False, minify_css=False)
from csscompressor import compress as cssminify
import gzip
import sys