Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there no command line tools for VS Web Essentials Extension?

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?

like image 840
johntrepreneur Avatar asked Aug 28 '14 22:08

johntrepreneur


People also ask

How do I add an extension in VS code 2022?

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.

Does Visual Studio have plugins?

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.


1 Answers

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
like image 121
Alex M Avatar answered Oct 18 '22 23:10

Alex M