Level 2 minification for CSS.
This commit is contained in:
parent
6f93624b4b
commit
326745e717
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ DEPLOY_DIR = Path("./deploy")
|
||||||
|
|
||||||
def minify_css(content):
|
def minify_css(content):
|
||||||
result = subprocess.run(
|
result = subprocess.run(
|
||||||
["cleancss"],
|
["cleancss", "--level", "1"],
|
||||||
input=content,
|
input=content,
|
||||||
capture_output=True,
|
capture_output=True,
|
||||||
text=True,
|
text=True,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue