📝 Made note on minification tools

This commit is contained in:
z3rOR0ne 2022-09-03 15:17:22 -07:00
parent 2e34b96d8a
commit 8a51267a4e
2 changed files with 12 additions and 0 deletions

8
uglify.txt Normal file
View 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

View file

@ -34,3 +34,7 @@ paru rzip
Install certbot
doas pacman -S certbot
Install uglify-js and uglifycss:
doas npm install -g uglify-js uglifycss