Commit 547e190f authored by shadMod's avatar shadMod 💬

added minify when compile css => now with this css works

parent e1f86183
......@@ -19,9 +19,11 @@ import os
import click
import uitwww
from scss.compiler import compile_file
from htmlmin import minify
from .constants import UITWWW_DIR, BASE_DIR
from .utils import ReverseProxied, GunicornInstance
from scss.compiler import compile_file
@click.group()
......@@ -90,4 +92,4 @@ def build_scss():
print("Compile the scss file")
path = f"{BASE_DIR}/assets/scss/www.scss"
with open(f"{BASE_DIR}/uitwww/static/website.css", "w") as fn:
fn.write(compile_file(path))
fn.write(minify(compile_file(path)))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment