How can I automatically minify express js assets?

Viewed 585

How can I minify frontend javascript/css of my express js app on the fly? Is there a reason not to do it?

1 Answers

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.

Related