Is it possible to bundle all javascript (or css) files in a directory using Web Essentials? Similar to how System.Web.Optimizations bundling can take a directory?
I tried:
<directories>
<directory>/myDirectory</directory>
</directories>
but this doesn't seem to work.
I need to bundle all files in a folder for an AngularJS app, and it's nice to not have to worry about adding each new file.
I want to use the Web Essentials bundling so that I can generate source maps.
It's not possible to have WebEssentials "watch" a folder for changes and automatically include them, nor is it possible to use wildcards or directory paths.
https://webessentials.uservoice.com/forums/140520-general/suggestions/4201808-bundling-folders-instead-of-individual-files
It looks like the author has released a new extension for VS2015 that does have these features, but if you're on a version of VS prior to that then you're out of luck.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With