node package manager

grunt-vendor-optimize

Grunt task replaces references to non-optimized scripts or stylesheets into a set of HTML files (or any templates/views).

Sadly, this package has no readme. Go write one!