update @ Sun Oct 8 01:32:25 EEST 2023

Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
Ari Archer 2023-10-08 01:32:25 +03:00
parent 00144e1601
commit 5338b1ab02
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: A50D5B4B599AF8A2
8 changed files with 3 additions and 15 deletions

View file

@ -1,3 +1,4 @@
htmlmin
rcssmin
mistune
typing

View file

@ -24,7 +24,7 @@ from threading import Thread
from timeit import default_timer as code_timer
from warnings import filterwarnings as filter_warnings
import minify_html_onepass
import htmlmin
import mistune
import mistune.core
import mistune.inline_parser
@ -572,8 +572,7 @@ def process_css_file(file: str, out: str) -> None:
def min_html(code: str) -> str:
return minify_html_onepass.minify(code, True)
# return htmlmin.minify(code, True, True, True, True, True, True, True)
return htmlmin.minify(code, True, True, True, True, True, True, True)
# markdown

View file

@ -1,2 +0,0 @@
original package located at https://pypi.org/project/minify-html-onepass
using this bc this package doesnt build in netlify ci

View file

@ -1,5 +0,0 @@
from .minify_html_onepass import *
__doc__ = minify_html_onepass.__doc__
if hasattr(minify_html_onepass, "__all__"):
__all__ = minify_html_onepass.__all__

View file

@ -1,5 +0,0 @@
def minify(
code: str,
minify_css: bool = False,
minify_js: bool = False,
) -> str: ...