How can I minify frontend javascript/css of my express js app on the fly? Is there a reason not to do it?
How can I minify frontend javascript/css of my express js app on the fly? Is there a reason not to do it?
I think this is a duplicate. Look at the answer(s) there, I think they will answer your question. Basically it states to use the compress middleware.