diff --git a/uglify.txt b/uglify.txt new file mode 100644 index 00000000..f6c75577 --- /dev/null +++ b/uglify.txt @@ -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 diff --git a/updates.txt b/updates.txt index 067027a0..12706a5d 100644 --- a/updates.txt +++ b/updates.txt @@ -34,3 +34,7 @@ paru rzip Install certbot doas pacman -S certbot + +Install uglify-js and uglifycss: + +doas npm install -g uglify-js uglifycss