📝 Made note on minification tools
This commit is contained in:
parent
2e34b96d8a
commit
8a51267a4e
2 changed files with 12 additions and 0 deletions
8
uglify.txt
Normal file
8
uglify.txt
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
In order to use uglify-js and uglifycss is quite simple. This will minify your files for slightly quicker load speeds:
|
||||||
|
|
||||||
|
doas npm install -g uglify-s uglifycss
|
||||||
|
|
||||||
|
To utilize for now (make a script later), simply output the minified file using bash redirection operator:
|
||||||
|
|
||||||
|
uglifyjs somefile.js > somefile.min.js
|
||||||
|
uglifycss somefile.css > somefile.min.css
|
||||||
|
|
@ -34,3 +34,7 @@ paru rzip
|
||||||
Install certbot
|
Install certbot
|
||||||
|
|
||||||
doas pacman -S certbot
|
doas pacman -S certbot
|
||||||
|
|
||||||
|
Install uglify-js and uglifycss:
|
||||||
|
|
||||||
|
doas npm install -g uglify-js uglifycss
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue