I am writing a simple web app using NancyFX and the Razor view engine. I have little components in my web app that are having css, html and JavaScript. Each small component has its own folder in my Visual Studio solution.
When compiling I would like to pack together all the JavaScript code into one large file and include only that in my master-page. Something similar to ruby's sprocket gen would be the best.
Is there any solution for this problem?