From 8a51267a4ec6f951e2f5d0a8f2d43da76df1e170 Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Sat, 3 Sep 2022 15:17:22 -0700 Subject: [PATCH] :memo: Made note on minification tools --- uglify.txt | 8 ++++++++ updates.txt | 4 ++++ 2 files changed, 12 insertions(+) create mode 100644 uglify.txt 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