We use this Visual Studio extension, but also want to use it on our CI server without checking in the generated bundled files. Are there no command line tools for this?
Wondering how the rest of the Web Essentials community is doing this.?.? Surely others have encountered this before and found a solution, no?
Find extensions to install using the Extensions view. Install an extension from the VS Code Extension Marketplace. See what features are added via the Features Contributions tab or Command Palette (Ctrl+Shift+P). See recommendations for other extensions.
Answer: Add-ons are available as extensions for both Visual Studio as well as Visual Studio Code. They are hosted on the marketplace from Microsoft. To install an extension in Visual Studio, Type “extensions” in the Search/Help box.
If you are at a point of setting up a CI server then the benefits of bundling built into the Visual Studio seem marginal - I would assume that you are not going to be performing deployments from VS and will be instead deploying through your CI environment.
If that is the case, I would consider turning off bundling in Web Essentials and using a command-line bundling solution such as WebGrease or AjaxMin . I heard that AjaxMin is what is being used by WE and WG anyway.
Another approach could be to leave the WE bundling in place and attempt to use command-line WebGrease to replicate Web Essentials' bundling in your CI step:
wg -b -in:C:\javascript -out:bigjavascriptfile.js
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