📝 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue