You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,27 +6,26 @@ Web minify helper!
6
6
7
7
Let me help you minify css and js files automatically and easily!
8
8
9
-
This is only a shell script; it depends on bash shell, gnu grep, wc, curl and nodejs/npm.
9
+
This is only a shell script; it depends on bash shell, grep, wc, curl and nodejs/npm.
10
10
11
-
It is based on [clean-css](github.com/jakubpawlowicz/clean-css), [uglify-js](github.com/mishoo/UglifyJS2) and [javascript-minifier.com](http://javascript-minifier.com)/[cssminifier.com](http://cssminifier.com).
11
+
It is based on [clean-css](https://github.com/jakubpawlowicz/clean-css), [uglify-js](https://github.com/mishoo/UglifyJS2) and [javascript-minifier.com](https://javascript-minifier.com)/[cssminifier.com](https://cssminifier.com).
12
12
13
13
Feel free to contribute to the project if you want!
@@ -40,6 +39,6 @@ The script will scan all the directories under the current working directory, ex
40
39
41
40
Then, it will check all the js & css files to see if they already have a minified version (currently, it recognizes it by looking for a `.min` in the filename, before the file extension).
42
41
43
-
If the file does not have a minified version, it will minify it.
42
+
If the file does not have a minified version, it will minify it.
44
43
45
44
Furthermore, even if there is a minified version available, the script will compare the last modified time between the original file and its minified version. If the original one is newer than the minified one -- which means the minified file is older than the original -- then it will replace the old minified file with a new minified version!
0 commit comments