Burke Holland explains how the WebPack module loader let's you load any asset - CommonJS or AMD, JavaScript or CSS - and how to use it with Visual Studio.
WebPack calls itself a “Module Bundler”. We tend to think of modules in terms of JavaScript, but WebPack thinks of them in terms of any assets that you might want to transpile, minify and pipe to the browser. JavaScript, TypeScript, CoffeeScript, CSS, SASS, images – it doesn’t matter to WebPack. But this is not the reason why I love it. The reason why WebPack is my tool of choice, is that it bridges the gap between AMD and CommonJS.