Combining CoffeeScript files in Web Workbench

The latest version of Web Workbench added the ability to combine multiple JavaScript and CSS files into a single file during minification. Several users have asked about whether we could also provide a way to combine multiple CoffeeScript files together during compilation, and we’re pleased to say the answer’s yes! The latest nightly builds of Web Workbench feature CoffeeScript combining using the same friendly user interface as CSS and JavaScript. Here’s a simple sample:

This is a beta feature and we’re keen for feedback, so grab the latest nightly, take it for a spin and let us know how you get on!

Tagged as Web Workbench

3 Responses to “Combining CoffeeScript files in Web Workbench”

  • Hello,
    Thanks for the update. Exactly what I was looking for.

    The nice coffee-cup icons have disappeared though in the Solution Explorer. I uninstalled the previous nightly and installed this nightly and now the icons have gone.

    Cheers,
    Scott

  • I’m not in the office right now to check, but does this mean that coffeescript files I set to combine will be in the scope?

  • Scott: We’ll check into the disappearing icons. I think we may have messed up relating the icon stuff to the way VS2010 versions extensions, in which case we should be able to get this fixed in the next version.

    Adam: Not sure what you mean by ‘in the scope.’ All we do is concatenate the .coffee files before compiling them down to JavaScript. So the contents of all files will be within the same wrapper function (assuming you don’t set the ‘bare’ option).

  • Leave a Reply

Archives

Join our mailer

You should join our newsletter! Sent monthly:

Back to Top