expressjs / express-expose

Expose raw js, objects, and functions to the client-side (awesome for sharing utils, settings, current user data etc)
MIT License
299 stars 26 forks source link

compression option #2

Open tj opened 13 years ago

guybrush commented 13 years ago

do you want add to a dependency for this, like uglify or jsmin? or maybe a filter-option, where the user can use his preferred minifier.

tj commented 13 years ago

maybe something better would be to just add a simple hook for stuff like this, then any could be used