ramiwi
ramiwi

Reputation: 1020

How can I automatically minify express js assets?

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

Answers (1)

Mark Small
Mark Small

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

Related Questions