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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user