Xmetalfanx / Complete_Homepage

Git Repo for my website
1 stars 1 forks source link

Minifying issue #93

Closed Xmetalfanx closed 3 years ago

Xmetalfanx commented 3 years ago

i did notice a good performance improvement min'ing JS JSON and CSS files but some became unreadable after.

IDEA: script something that will minify say the JS (the JSON I have to test) and CSS files ... say with the JS ... have a MIN version that the pages use but work on the full version ... say have "foobar.js" but link to/use "foobar.min.js" so I can keep the "readable" versions AND get the performance improvement.

Though: off the top of my head I am not sure how to do this in bash (minifying) but maybe a .sh file that takes the .js files and copies them to the same folder and ads a ".min.js" extension ... THEN actually does the minifying.

Xmetalfanx commented 3 years ago

I think what I want is: