Skip to content

Commit 10aec55

Browse files
authored
Update minify.py
1 parent 0bfc9d8 commit 10aec55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/minify.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from slimit import minify
1+
from jsmin import jsmin
22
from rcssmin import cssmin
33

44
from pathlib import Path
@@ -11,7 +11,7 @@
1111
target_path = path.with_suffix('.min.js')
1212
with open(path.as_posix(), 'r') as f:
1313
text = f.read()
14-
minified = minify(text, mangle=True, mangle_toplevel=True)
14+
minified = jsmin(text, mangle=True, mangle_toplevel=True)
1515
with open(target_path.as_posix(), 'w') as f:
1616
f.write(minified)
1717

0 commit comments

Comments
 (0)