Minifier

Free

Extension which adds custom tools for Google Closure Compiler (js files) and the YUI Compressor (css files).

(7) Review
Visual Studio
2012, 2010
Download (8,711)
3/25/2012
0.1.1.1
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (7)
Q and A (7)
Sign in to write a review
Sort by:

by Mark Broadhurst | April 10 2013

Great idea poorly executed.

Without the ability to set what type of minification the closure compiler uses its next to useless for me.

by Georgios Politis | March 16 2013

It does what it says, but it is not very practical for me. Each time I save a js file, it minifies it (and so it contacts Google Closure Compiler). That is annoying. I want to able minify the file only after I have finished hacking it. I don't think that's possible with a Custom Tool though; a simple extension that adds a menu item in the context menu for javascript files would have worked for me.

by dr_tyger | December 28 2012

Works just smooth.
Perfect!

by GKG4 | September 13 2012

Finally, a really very useful extension for VS2012RC.

I'm really happy using it.

Thanks for your great effort.

by BrianChopp | March 07 2012

by Ranbla | February 19 2012

by Chriiiis | January 25 2012

Very great, replaces the not exist compressing feature until .NET 4.5.
Could be more user friendly.

Sign in to start a discussion


  • Open up the source?
    1 Posts | Last post July 15, 2013
    • This project seems dead since there hasn't been any updates in a long time.  Is there a possibility the author could release the source code for others to build on?
  • compression options
    3 Posts | Last post July 15, 2013
    • i wish i could set the compression options of Google Closure and Yui Compressor, but I can't find where to set it
    • +1 to this while using angular parameter names are important so you have to use either WHITESPACE_ONLY rather than SIMPLE_OPTIMIZATIONS or ADVANCED_OPTIMIZATIONS
    • +1 to this as well.  Using Angular as well, and using WHITESPACE_ONLY would be great.
  • Strange behavior
    2 Posts | Last post March 26, 2013
    • When I put the GoogleClosureCompiler option on a JS file, if I rename the file from "main.js" to "main-1.0.0.js", the generated minified file is renamed from "main.min.js" to "main-1.0.01.js", not "main-1.0.0.min.js".
      
      If I put that point apart, this add-in is great. Simple and effective. ;-)
    • Did "main-1.0.0.js" exist as a file outside of the solution ?
      If so its Visual Studio going for the next avalible file name.
  • It doesn't work
    2 Posts | Last post February 08, 2013
    • I installed the extension and then I put "YUICompressor" in the Custom Tool of my css file that I want to edit. I right-click on my file and press "Run custom tool" but it only give me a popup saying "Cannot find custom tool 'YUICompressor' on this system."
      
      I'm using Visual Studio 2012 Premium
    • I also am experiencing the "Cannot find custom tool 'GoogleClosureCompiler' on this system" message in Visual Studio 2012 Pro.
  • Where is the option?
    8 Posts | Last post October 30, 2012
    • "Simply set the custom tool to "GoogleClosureCompiler" for javascript files and "YUICompressor" for css files."
      
      Maybe Im blind, but where is the option to set the custom tool?.
      
      Regards
      Chriiiis
    • All ok, I have find it :D.
      Really nice tool.
      
      Regards
      Chriiiis
    • Chriiiis please tell me how to set above options in VS2010 SP1. thanks
    • Hey KunalatMSDN, simple select the css or js file in the solution explorer and press F4 (to open the properties sidebar) and enter "GoogleClosureCompiler" for javascript files and "YUICompressor" for css files in the Custom Tool textbox.
    • Is it possible to make an option to search for ALL css and ALL js or a part of it, to compress more than one file at the same time? Its horrible when I have a big project to set the tool for each css/js file.... Maybe set the tool for the build, so when I click on build, the tool will compress the files in the folder, that I have set in the options. That would be very nice.
      
      Regards
      Chriiiis
    • Nice tool! 
      
      @Chriiiis: Select all js files or all css files in your project then set the Custom Tool once for all selected files. You don't need to do it one at a time for each individual file!
    • I can't seem to get this to work with Visual Studio 2012 RC.
    • I did what fbdegroot said to do, but I don't see any options in the properties sidebar to set the Custom Tool property.  The only two options I see in the properties window are "File Name" and "Full Path".  
      
      Am I missing something?  Is there some other prerequisite I need to install?
      
      I'm using VS2012 Pro.
  • Which one to import ?
    2 Posts | Last post September 13, 2012
    • I've found that Minifier creates a new file while publishing named as *.min.css or *.min.js.
      
      While writing the code, I've included the *.css and *.js files.
      
      Now, I'm bit confused if .net itself include the minified files, or do I need to include them manually.
      
      Please help.
    • Well, I got the solution, this extension is creating the minified versions of css and js files instantly. Really cool :)
  • Dont see any changes
    1 Posts | Last post June 30, 2012
    • Hi, i changed custom tool section as suggested, but can't see any minified file. when and where can i see the file. Please note, my project has few HTML files and all javascript files. Can you please help me to work.
      
      Thanks