Reputation: 1020
How can I minify frontend javascript/css of my express js app on the fly? Is there a reason not to do it?
Upvotes: 2
Views: 1593
Reputation: 414
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.
Upvotes: 1