fixed css minifying
This commit is contained in:
parent
3d7e798310
commit
9c2e039bf8
@ -24,7 +24,7 @@ def minify_js(input_path, output_path):
|
||||
subprocess.run([terser_path, input_path, '-o', output_path, '-c', '-m'])
|
||||
|
||||
def minify_css(input_path, output_path):
|
||||
subprocess.run([cssnano_path, input_path, output_path])
|
||||
subprocess.run([cssnano_path, '--no-discardUnused', input_path, output_path])
|
||||
|
||||
def process_file(src_path, dest_path):
|
||||
_, file_extension = os.path.splitext(src_path)
|
||||
|
Loading…
x
Reference in New Issue
Block a user